From 548c5f606c8770876279c395d5f9b6571443252e Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Wed, 23 Oct 2013 15:57:02 +0100 Subject: [PATCH] Removed bogus (hopefully) checkout --- fdroidserver/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 75f70156..b6ced657 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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