mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-19 03:30:12 +02:00
Avoid newlines in git-svn RepoTrunk
This commit is contained in:
parent
355dabc43e
commit
d8d3f00e6b
@ -295,7 +295,7 @@ class vcs_gitsvn(vcs):
|
|||||||
self.checkrepo()
|
self.checkrepo()
|
||||||
p = subprocess.Popen(['git', 'svn', 'find-rev', 'HEAD'],
|
p = subprocess.Popen(['git', 'svn', 'find-rev', 'HEAD'],
|
||||||
stdout=subprocess.PIPE, cwd=self.local)
|
stdout=subprocess.PIPE, cwd=self.local)
|
||||||
return p.communicate()[0]
|
return p.communicate()[0].strip()
|
||||||
|
|
||||||
class vcs_svn(vcs):
|
class vcs_svn(vcs):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user