git-migration: pld-git.sh - do not require to delete cvs.rsync by hand to r...

draenog draenog at pld-linux.org
Thu Jun 9 23:44:01 CEST 2011


Author: draenog                      Date: Thu Jun  9 21:44:01 2011 GMT
Module: git-migration                 Tag: HEAD
---- Log message:
- do not require to delete cvs.rsync by hand to repeat conversion after
  a successful one was done

---- Files affected:
git-migration:
   pld-git.sh (1.43 -> 1.44) 

---- Diffs:

================================================================
Index: git-migration/pld-git.sh
diff -u git-migration/pld-git.sh:1.43 git-migration/pld-git.sh:1.44
--- git-migration/pld-git.sh:1.43	Thu Jun  9 01:21:27 2011
+++ git-migration/pld-git.sh	Thu Jun  9 23:43:56 2011
@@ -18,7 +18,7 @@
 
 	CVSROOT=$(pwd)
 
-	[ ! -f cvs.rsync ] || return 0
+	[ ! -s cvs.rsync ] || return 0
 	# sync only *,v files and dirs
 	local logfile=rsync.log
 	local exclude_pattern
================================================================

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



More information about the pld-cvs-commit mailing list