chiark / gitweb /
Removed bogus (hopefully) checkout
authorCiaran Gultnieks <ciaran@ciarang.com>
Wed, 23 Oct 2013 14:57:02 +0000 (15:57 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Wed, 23 Oct 2013 14:57:02 +0000 (15:57 +0100)
fdroidserver/common.py

index 75f7015666a3f57fe3682542c31ba515a4d33dd8..b6ced657519e1d9396e7c29ebc050770f28dcd3f 100644 (file)
@@ -1155,7 +1155,8 @@ def getsrclib(spec, srclib_dir, sdk_path, ndk_path="", mvn3="", basepath=False,
     if not preponly:
         vcs = getvcs(srclib["Repo Type"], srclib["Repo"], sdir, sdk_path)
         vcs.srclib = (name, sdir)
-        vcs.gotorevision(ref)
+        if ref:
+            vcs.gotorevision(ref)
 
         if raw:
             return vcs