chiark / gitweb /
git-svn can now use RM/branch too
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 27 May 2013 13:11:46 +0000 (15:11 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 27 May 2013 13:11:46 +0000 (15:11 +0200)
fdroidserver/checkupdates.py

index 4bf2752e72584a5dd84d73c42ddd970b58b75585..7db89ff4a438fcf90fc27330e9fb93df86824e0f 100644 (file)
@@ -124,7 +124,10 @@ def check_repomanifest(app, sdk_path, branch=None):
                 vcs.gotorevision('origin/master')
                 pass
         elif vcs.repotype() == 'git-svn':
-            vcs.gotorevision(None)
+            if branch:
+                vcs.gotorevision(branch)
+            else:
+                vcs.gotorevision(None)
         elif vcs.repotype() == 'svn':
             vcs.gotorevision(None)
         elif vcs.repotype() == 'hg':