From d042a685ce5ff61a11e33fcd7e3b3d4fd05c72db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Mon, 27 May 2013 15:00:35 +0200 Subject: [PATCH] branches= on git-svn + muliple arguments allowed --- fdroidserver/common.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index ec9d7a98..914a900f 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -206,13 +206,11 @@ class vcs_gitsvn(vcs): if len(remote_split) > 1: for i in remote_split[1:]: if i.startswith('trunk='): - trunk = i[6:] + gitsvn_cmd += ['-T', i[6:]] elif i.startswith('tags='): - tags = i[5:] - if trunk: - gitsvn_cmd += ['-T', trunk] - if tags: - gitsvn_cmd += ['-t', tags] + gitsvn_cmd += ['-t', i[5:]] + elif i.startswith('branches='): + gitsvn_cmd += ['-b', i[9:]] if subprocess.call(gitsvn_cmd + [remote_split[0], self.local]) != 0: raise VCSException("Git clone failed") else: -- 2.30.2