D4249: contrib: have check-code look at files in latin1 instead of ascii
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Aug 10 08:26:08 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc52a8af4052a: contrib: have check-code look at files in latin1 instead of ascii (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4249?vs=10283&id=10301
REVISION DETAIL
https://phab.mercurial-scm.org/D4249
AFFECTED FILES
contrib/check-code.py
CHANGE DETAILS
diff --git a/contrib/check-code.py b/contrib/check-code.py
--- a/contrib/check-code.py
+++ b/contrib/check-code.py
@@ -30,7 +30,7 @@
opentext = open
else:
def opentext(f):
- return open(f, encoding='ascii')
+ return open(f, encoding='latin1')
try:
xrange
except NameError:
To: durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list