mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
Support git-svn refs in the form of rN
This commit is contained in:
parent
2c55fb499c
commit
b404e1b69c
1 changed files with 3 additions and 1 deletions
|
@ -646,7 +646,9 @@ class vcs_gitsvn(vcs):
|
|||
treeish += 'master'
|
||||
svn_rev = rev
|
||||
|
||||
p = SilentPopen(['git', 'svn', 'find-rev', 'r' + svn_rev, treeish],
|
||||
svn_rev = svn_rev if svn_rev[0] == 'r' else 'r' + svn_rev
|
||||
|
||||
p = SilentPopen(['git', 'svn', 'find-rev', svn_rev, treeish],
|
||||
cwd=self.local)
|
||||
git_rev = p.output.rstrip()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue