[Pkg-ocaml-maint-commits] r6112 - in /trunk/tools/svn2git: functions.sh glondu_svn2git.py

glondu-guest at users.alioth.debian.org glondu-guest at users.alioth.debian.org
Wed Jan 7 23:05:20 UTC 2009


Author: glondu-guest
Date: Wed Jan  7 23:05:20 2009
New Revision: 6112

URL: http://svn.debian.org/wsvn/?sc=1&rev=6112
Log:
Minor changes

Modified:
    trunk/tools/svn2git/functions.sh
    trunk/tools/svn2git/glondu_svn2git.py

Modified: trunk/tools/svn2git/functions.sh
URL: http://svn.debian.org/wsvn/trunk/tools/svn2git/functions.sh?rev=6112&op=diff
==============================================================================
--- trunk/tools/svn2git/functions.sh (original)
+++ trunk/tools/svn2git/functions.sh Wed Jan  7 23:05:20 2009
@@ -25,7 +25,7 @@
 
 git_finalize () {
   if grep -q UNRELEASED debian/changelog; then
-    DEBCHANGE_RELEASE_HEURISTIC=changelog dch --no-auto-nmu "Switching packaging to git"
+    DEBCHANGE_RELEASE_HEURISTIC=changelog dch --no-auto-nmu "Switch packaging to git"
   else
     DEBCHANGE_RELEASE_HEURISTIC=changelog dch -i -D "UNRELEASED" --no-auto-nmu "Switching packaging to git"
   fi

Modified: trunk/tools/svn2git/glondu_svn2git.py
URL: http://svn.debian.org/wsvn/trunk/tools/svn2git/glondu_svn2git.py?rev=6112&op=diff
==============================================================================
--- trunk/tools/svn2git/glondu_svn2git.py (original)
+++ trunk/tools/svn2git/glondu_svn2git.py Wed Jan  7 23:05:20 2009
@@ -173,7 +173,8 @@
                     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"
+            # too error-prone with old svn layouts, but might be useful
+            # 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