mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
git-svn can now use RM/branch too
This commit is contained in:
parent
55335dc030
commit
1ad1e85373
1 changed files with 4 additions and 1 deletions
|
|
@ -124,7 +124,10 @@ def check_repomanifest(app, sdk_path, branch=None):
|
||||||
vcs.gotorevision('origin/master')
|
vcs.gotorevision('origin/master')
|
||||||
pass
|
pass
|
||||||
elif vcs.repotype() == 'git-svn':
|
elif vcs.repotype() == 'git-svn':
|
||||||
vcs.gotorevision(None)
|
if branch:
|
||||||
|
vcs.gotorevision(branch)
|
||||||
|
else:
|
||||||
|
vcs.gotorevision(None)
|
||||||
elif vcs.repotype() == 'svn':
|
elif vcs.repotype() == 'svn':
|
||||||
vcs.gotorevision(None)
|
vcs.gotorevision(None)
|
||||||
elif vcs.repotype() == 'hg':
|
elif vcs.repotype() == 'hg':
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue