mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Fix weird indentation in the hg purge changes
This commit is contained in:
parent
c09382fa82
commit
0a34765461
@ -558,8 +558,8 @@ class vcs_hg(vcs):
|
||||
p = subprocess.Popen(['hg', 'purge', '--all'], stdout=subprocess.PIPE,
|
||||
cwd=self.local)
|
||||
result = p.communicate()[0]
|
||||
if "'purge' is provided by the following extension" in result:
|
||||
# Also delete untracked files, we have to enable purge extension for that:
|
||||
if "'purge' is provided by the following extension" in result:
|
||||
with open(self.local+"/.hg/hgrc", "a") as myfile:
|
||||
myfile.write("\n[extensions]\nhgext.purge=")
|
||||
if subprocess.call(['hg', 'purge', '--all'],
|
||||
|
Loading…
Reference in New Issue
Block a user