[Pkg-ocaml-maint-commits] r5921 - /trunk/tools/svn2git/glondu_svn2git.py

glondu-guest at users.alioth.debian.org glondu-guest at users.alioth.debian.org
Sat Aug 9 17:16:19 UTC 2008


Author: glondu-guest
Date: Sat Aug  9 17:16:19 2008
New Revision: 5921

URL: http://svn.debian.org/wsvn/?sc=1&rev=5921
Log:
There can be files outside of debian/ too

Modified:
    trunk/tools/svn2git/glondu_svn2git.py

Modified: trunk/tools/svn2git/glondu_svn2git.py
URL: http://svn.debian.org/wsvn/trunk/tools/svn2git/glondu_svn2git.py?rev=5921&op=diff
==============================================================================
--- trunk/tools/svn2git/glondu_svn2git.py (original)
+++ trunk/tools/svn2git/glondu_svn2git.py Sat Aug  9 17:16:19 2008
@@ -57,7 +57,7 @@
 
 # SVN revision touching several packages known to be harmless
 # (used to remove warnings)
-harmless_svn_revs = set((2674, 3052, 3055, 3158, 3216, 3577, 4560, 4565, 4753, 4997, 5001, 5637))
+harmless_svn_revs = set((2674, 3052, 3055, 3158, 3216, 3577, 3579, 3580, 3582, 4560, 4565, 4753, 4997, 5001, 5637))
 
 
 def run_command(name, cmd):
@@ -172,6 +172,7 @@
                     tgz.append(file)
         if working_dir:
             print "rsync -a --exclude=.svn --exclude='*.tar.gz' --exclude='*.tar.bz2' --delete ../svn/%s/debian ." % local_wdir
+            print "for u in `find ../svn/trunk '(' -name debian -o -name .svn ')' -prune -o -type f -print`; do cp $u ${u#../svn/trunk/}; done"
             print "git add ."
             print "git add -u"
         else:




More information about the Pkg-ocaml-maint-commits mailing list