1
0
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:
Daniel Martí 2014-07-23 17:26:33 +02:00
parent 5167e3d771
commit a5f0f439c5

View File

@ -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()