Using import_project for temporary repository.
authorAdam Dickmeiss <adam@indexdata.dk>
Sat, 29 Sep 2007 15:08:55 +0000 (17:08 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Sat, 29 Sep 2007 15:08:55 +0000 (17:08 +0200)
id-cvs-to-git.sh

index f68af7c..aee9f22 100755 (executable)
@@ -9,11 +9,12 @@ if test -z "$DESC"; then
        echo "Missing Description"
        exit 1
 fi
-mkdir import
-cd import
+rm -fr import_project
+mkdir import_project
+cd import_project
 git-cvsimport -A ../import.names -v $P
 cd ..
-git clone --bare import ${P}.git
+git clone --bare import_project ${P}.git
 touch ${P}.git/git-daemon-export-ok
 echo $DESC > ${P}.git/description
 scp -r ${P}.git git.indexdata.com:/var/cache/git