git-migration: pld-git.sh - change git repos names to $pkg.git; by conventi...

draenog draenog at pld-linux.org
Thu Jun 9 01:16:33 CEST 2011


Author: draenog                      Date: Wed Jun  8 23:16:33 2011 GMT
Module: git-migration                 Tag: HEAD
---- Log message:
- change git repos names to $pkg.git; by convention bare repos names has
  this suffix

---- Files affected:
git-migration:
   pld-git.sh (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.40 git-migration/pld-git.sh:1.41
--- git-migration/pld-git.sh:1.40	Fri May 13 17:00:34 2011
+++ git-migration/pld-git.sh	Thu Jun  9 01:16:28 2011
@@ -121,9 +121,9 @@
 		grep -qxF $pkg cvs.blacklist && continue
 
 		# can't resume, drop old efforts
-		rm -rf $gitdir/$pkg
+		rm -rf $gitdir/${pkg}.git
 
-		export GIT_DIR=$gitdir/$pkg
+		export GIT_DIR=$gitdir/${pkg}.git
 		git init
 		PYTHONPATH=$(pwd) CVS_REPO=packages/$pkg cvs2git --options=cvs2git.options || {
 			rm -rf $GIT_DIR
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/git-migration/pld-git.sh?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list