git-svn can now use RM/branch too

This commit is contained in:
Daniel Martí 2013-05-27 15:11:46 +02:00
parent 55335dc030
commit 1ad1e85373

View file

@ -124,6 +124,9 @@ def check_repomanifest(app, sdk_path, branch=None):
vcs.gotorevision('origin/master')
pass
elif vcs.repotype() == 'git-svn':
if branch:
vcs.gotorevision(branch)
else:
vcs.gotorevision(None)
elif vcs.repotype() == 'svn':
vcs.gotorevision(None)