##// END OF EJS Templates
fastannotate: use stringutil.pprint() to dump diffopts to be hashed
Yuya Nishihara -
r39423:2df3271e default
parent child Browse files
Show More
@@ -23,6 +23,9 b' from mercurial import ('
23 scmutil,
23 scmutil,
24 util,
24 util,
25 )
25 )
26 from mercurial.utils import (
27 stringutil,
28 )
26
29
27 from . import (
30 from . import (
28 error as faerror,
31 error as faerror,
@@ -131,7 +134,7 b' def encodedir(path):'
131 .replace('.lock/', '.lock.hg/'))
134 .replace('.lock/', '.lock.hg/'))
132
135
133 def hashdiffopts(diffopts):
136 def hashdiffopts(diffopts):
134 diffoptstr = str(sorted(
137 diffoptstr = stringutil.pprint(sorted(
135 (k, getattr(diffopts, k))
138 (k, getattr(diffopts, k))
136 for k in mdiff.diffopts.defaults
139 for k in mdiff.diffopts.defaults
137 ))
140 ))
@@ -31,11 +31,6 b''
31 > | sed 's|\\|/|g' | xargs python3 contrib/check-py3-compat.py \
31 > | sed 's|\\|/|g' | xargs python3 contrib/check-py3-compat.py \
32 > | sed 's/[0-9][0-9]*)$/*)/'
32 > | sed 's/[0-9][0-9]*)$/*)/'
33 hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob) (?)
33 hgext/convert/transport.py: error importing: <*Error> No module named 'svn.client' (error at transport.py:*) (glob) (?)
34 hgext/fastannotate/commands.py: error importing: <TypeError> Unicode-objects must be encoded before hashing (error at context.py:*)
35 hgext/fastannotate/context.py: error importing: <TypeError> Unicode-objects must be encoded before hashing (error at context.py:*)
36 hgext/fastannotate/formatter.py: error importing: <TypeError> Unicode-objects must be encoded before hashing (error at context.py:*)
37 hgext/fastannotate/protocol.py: error importing: <TypeError> Unicode-objects must be encoded before hashing (error at context.py:*)
38 hgext/fastannotate/support.py: error importing: <TypeError> Unicode-objects must be encoded before hashing (error at context.py:*)
39 hgext/infinitepush/sqlindexapi.py: error importing: <*Error> No module named 'mysql' (error at sqlindexapi.py:*) (glob) (?)
34 hgext/infinitepush/sqlindexapi.py: error importing: <*Error> No module named 'mysql' (error at sqlindexapi.py:*) (glob) (?)
40 mercurial/scmwindows.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
35 mercurial/scmwindows.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
41 mercurial/win32.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
36 mercurial/win32.py: error importing: <ValueError> _type_ 'v' not supported (error at win32.py:*) (no-windows !)
General Comments 0
You need to be logged in to leave comments. Login now