Index: mach |
=================================================================== |
--- a/mach |
+++ b/mach |
@@ -9,16 +9,19 @@ |
'''which' python2.7 > /dev/null && exec python2.7 "$0" "$@" || exec python "$0" "$@" |
''' |
from __future__ import print_function, unicode_literals |
import os |
import sys |
+# Disable mercurial-setup permanently. See https://issues.adblockplus.org/ticket/5567 |
+os.environ['I_PREFER_A_SUBOPTIMAL_MERCURIAL_EXPERIENCE'] = '1' |
+ |
def ancestors(path): |
while path: |
yield path |
(path, child) = os.path.split(path) |
if child == "": |
break |
def load_mach(dir_path, mach_path): |