From 67d75e550bd1379c274c91118c75bce898eef3e0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Sun, 2 Mar 2014 13:39:48 +0100 Subject: [PATCH] Don't add an extra space to git svn clone --- fdroidserver/common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 06a0d66a..8ef38bb8 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -372,7 +372,7 @@ class vcs_gitsvn(vcs): def userargs(self): if self.username is None: return ('', '') - return ('echo "%s" | DISPLAY="" ' % self.password, '--username "%s"' % self.username) + return ('echo "%s" | DISPLAY="" ' % self.password, ' --username "%s"' % self.username) # If the local directory exists, but is somehow not a git repository, git # will traverse up the directory tree until it finds one that is (i.e. @@ -387,7 +387,7 @@ class vcs_gitsvn(vcs): def gotorevisionx(self, rev): if not os.path.exists(self.local): # Brand new checkout - gitsvn_cmd = '%sgit svn clone %s' % self.userargs() + gitsvn_cmd = '%sgit svn clone%s' % self.userargs() if ';' in self.remote: remote_split = self.remote.split(';') for i in remote_split[1:]: -- 2.30.2