#!/bin/sh
-# id-cvs-to-git.sh: Uploads new Git Project to public (bare)
+# id-cvs-to-git.sh: Creates new bare Git Project from CVS
#
# Usage:
# id-cvs-to-git.sh source project description
rm -fr import_project
mkdir import_project
cd import_project
- git-cvsimport -A ../import.names -v $P
+ git-cvsimport -u -A ../import.names -v $P
cd ..
git clone --bare import_project ${P}.git
else
fi
touch ${P}.git/git-daemon-export-ok
echo $DESC > ${P}.git/description
-scp -r ${P}.git git.indexdata.com:/home/git/pub