Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: mach

Issue 29527555: Issue 5567 - Disable mercurial-setup permanently (Closed)
Patch Set: Issue 5567 - Disable mercurial-setup permanently Created Aug. 25, 2017, 8:05 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld