mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 22:40:12 +01:00
Fix Tags UCM on newer git-svn versions
This commit is contained in:
parent
f5890646e6
commit
d3ae163152
@ -700,7 +700,10 @@ class vcs_gitsvn(vcs):
|
||||
|
||||
def gettags(self):
|
||||
self.checkrepo()
|
||||
return os.listdir(os.path.join(self.local, '.git/svn/refs/remotes/tags'))
|
||||
for treeish in ['origin/', '']:
|
||||
d = os.path.join(self.local, '.git', 'svn', 'refs', 'remotes', treeish, 'tags')
|
||||
if os.path.isdir(d):
|
||||
return os.listdir(d)
|
||||
|
||||
def getref(self):
|
||||
self.checkrepo()
|
||||
|
Loading…
Reference in New Issue
Block a user