mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Use --before when using find-rev in git-svn
This commit is contained in:
parent
5167e3d771
commit
a5f0f439c5
@ -675,7 +675,7 @@ class vcs_gitsvn(vcs):
|
||||
|
||||
svn_rev = svn_rev if svn_rev[0] == 'r' else 'r' + svn_rev
|
||||
|
||||
p = SilentPopen(['git', 'svn', 'find-rev', svn_rev, treeish],
|
||||
p = SilentPopen(['git', 'svn', 'find-rev', '--before', svn_rev, treeish],
|
||||
cwd=self.local)
|
||||
git_rev = p.output.rstrip()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user