4 echo "Usage: git cvsimport [-v] [-z fuzz] <cvsroot> <module>"
9 CVSPS
="--cvs-direct -x -A"
13 -z) shift; CVSPS
="$CVSPS -z $1" ;;
22 if [ ! "$CVSROOT" ] ||
[ ! "$MODULE" ] ; then
26 cvsps
-h 2>&1 |
grep -q "cvsps version 2.1" >& /dev
/null ||
{
27 echo "I need cvsps version 2.1"
31 mkdir
"$MODULE" ||
exit 1
34 TZ
=UTC cvsps
$CVSPS $MODULE > .git-cvsps-result
35 [ -s .git-cvsps-result
] ||
exit 1
36 git-cvs2git
$CVS2GIT --cvsroot="$CVSROOT" --module="$MODULE" < .git-cvsps-result
> .git-create-script ||
exit 1