chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1020ca
)
Fix git-svn find-rev, also search for svn revisions after HEAD
author
Daniel Martí
<mvdan@mvdan.cc>
Wed, 30 Oct 2013 15:53:12 +0000
(16:53 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Wed, 30 Oct 2013 15:54:08 +0000
(16:54 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 111e66439214e411100fec231937c109e05110d4..e6cf5c85a16b485be7c9af343e4282eacefb3798 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-262,7
+262,7
@@
class vcs_gitsvn(vcs):
else:
# No tag found, normal svn rev translation
# Translate svn rev into git format
- p = subprocess.Popen(['git', 'svn', 'find-rev', 'r' + rev],
+ p = subprocess.Popen(['git', 'svn', 'find-rev', 'r' + rev
, '--before'
],
cwd=self.local, stdout=subprocess.PIPE)
git_rev = p.communicate()[0].rstrip()
if p.returncode != 0 or len(git_rev) == 0: