mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Revert "Fix git-svn find-rev, also search for svn revisions after HEAD"
This reverts commit e35a1093cd.
This commit is contained in:
parent
fc804e68d2
commit
45e68b45d4
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ class vcs_gitsvn(vcs):
|
||||||
else:
|
else:
|
||||||
# No tag found, normal svn rev translation
|
# No tag found, normal svn rev translation
|
||||||
# Translate svn rev into git format
|
# Translate svn rev into git format
|
||||||
p = subprocess.Popen(['git', 'svn', 'find-rev', 'r' + rev, '--before'],
|
p = subprocess.Popen(['git', 'svn', 'find-rev', 'r' + rev],
|
||||||
cwd=self.local, stdout=subprocess.PIPE)
|
cwd=self.local, stdout=subprocess.PIPE)
|
||||||
git_rev = p.communicate()[0].rstrip()
|
git_rev = p.communicate()[0].rstrip()
|
||||||
if p.returncode != 0 or len(git_rev) == 0:
|
if p.returncode != 0 or len(git_rev) == 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue