mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 07:20:29 +03:00
Fix Tags UCM on newer git-svn versions
This commit is contained in:
parent
f5890646e6
commit
d3ae163152
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue