Newer
Older
cvscreate / cvscreate.sh
@tundra tundra on 23 May 2012 533 bytes Initial revision
#!/bin/sh
# cvscreate.sh - Create And Checkin A New CVS Project
# Copyright (c) 2012 TundraWare Inc,, Des Plaines, IL USA
# $Id: cvscreate.sh,v 1.1 2012/05/23 23:56:35 tundra Exp $

# Assumes that the containing directory name is the name of the project

if [ $# != 1 ]
then
  echo "usage: cvscreate.sh 'Description of project'"
  exit 1
fi

PROJNAME=`basename $PWD`
echo $PROJNAME

cvs import -m "$1" $PROJNAME TundraWare start
cvs co $PROJNAME
cd $PROJNAME
cvs commit -r1.100 -m 'Initial CVS checkin to initialize version number.'