mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Add UCM:Tags support to hg
This commit is contained in:
parent
277788898e
commit
94b083063a
3 changed files with 10 additions and 4 deletions
|
|
@ -342,6 +342,11 @@ class vcs_hg(vcs):
|
|||
cwd=self.local) != 0:
|
||||
raise VCSException("Hg checkout failed")
|
||||
|
||||
def gettags(self):
|
||||
p = subprocess.Popen(['hg', 'tags', '-q'],
|
||||
stdout=subprocess.PIPE, cwd=self.local)
|
||||
return p.communicate()[0].splitlines()[1:]
|
||||
|
||||
|
||||
class vcs_bzr(vcs):
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue