git-migration: pld-git.sh - cvs2git fails if CVSROOT directory does not exist
draenog
draenog at pld-linux.org
Fri Jun 10 01:58:57 CEST 2011
Author: draenog Date: Thu Jun 9 23:58:57 2011 GMT
Module: git-migration Tag: HEAD
---- Log message:
- cvs2git fails if CVSROOT directory does not exist
---- Files affected:
git-migration:
pld-git.sh (1.44 -> 1.45)
---- Diffs:
================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.44 git-migration/pld-git.sh:1.45
--- git-migration/pld-git.sh:1.44 Thu Jun 9 23:43:56 2011
+++ git-migration/pld-git.sh Fri Jun 10 01:58:52 2011
@@ -34,6 +34,7 @@
grep -E 'changes=(.f|\*deleting)' $logfile | sed -rne 's/.*name=([^/]+)\/.*/\1/p' | sort -u > cvs.pkgs
touch cvs.rsync
+ [ -d CVSROOT ] || mkdir CVSROOT
}
# generate list of .specs on ftp. needs cvsnt client
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/pld-git.sh?r1=1.44&r2=1.45&f=u
More information about the pld-cvs-commit
mailing list