projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90a717c
)
Using import_project for temporary repository.
author
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 29 Sep 2007 15:08:55 +0000
(17:08 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Sat, 29 Sep 2007 15:08:55 +0000
(17:08 +0200)
id-cvs-to-git.sh
patch
|
blob
|
history
diff --git
a/id-cvs-to-git.sh
b/id-cvs-to-git.sh
index
f68af7c
..
aee9f22
100755
(executable)
--- a/
id-cvs-to-git.sh
+++ b/
id-cvs-to-git.sh
@@
-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