mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Don't always raise an exception when using hg purge
This commit is contained in:
parent
bebadde877
commit
482ae77854
1 changed files with 1 additions and 1 deletions
|
|
@ -564,7 +564,7 @@ class vcs_hg(vcs):
|
|||
myfile.write("\n[extensions]\nhgext.purge=\n")
|
||||
if subprocess.call(['hg', 'purge', '--all'], cwd=self.local) != 0:
|
||||
raise VCSException("HG purge failed")
|
||||
else:
|
||||
elif p.resultcode != 0:
|
||||
raise VCSException("HG purge failed")
|
||||
|
||||
def gettags(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue