chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bebadde
)
Don't always raise an exception when using hg purge
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 20 Jan 2014 09:01:49 +0000
(10:01 +0100)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 20 Jan 2014 09:01:49 +0000
(10:01 +0100)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 370646bf2f420a026068b3bc91d31ceffa861bd0..f3dbe278d96d98ea83c5e29918b8ba6472f6d8b5 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-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")
- el
se
:
+ el
if p.resultcode != 0
:
raise VCSException("HG purge failed")
def gettags(self):