7 echo "$PROGNAME: "`basename $0`-$VERSION
12 echo "Usage:" `basename $0`" [OPTIONS] <sha1>"
15 echo " -C run a cvsclean. "
16 echo " WARNING: this will run cvs up -C"
17 echo " and then remove all found .#* files"
18 echo " -c commit to cvs if no errors occured"
19 echo " -f force patching in case of an unclean"
20 echo " cvs repository"
21 echo " -V show version information"
49 echo >&2 "Parameter $1 is not known."
64 if test cvsclean
= "t"
66 cd ".cvs" && cvs up
-C && find .
-iname ".#*" -exec rm '{}' \
;
70 if test -d ".git" -a -d ".cvs"
72 git-cvsexportcommit
-v $force $commit -u -w ".cvs/" $1
76 echo >&2 "Not a git repository"
81 echo >&2 "No cvs repository found in .cvs. "
82 echo >&2 "Make sure you follow the standards"