D5008: py3: convert sorting field to sysstr
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Fri Oct 12 17:02:02 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb8f6a99ad89b: py3: convert sorting field to sysstr (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5008?vs=11921&id=11945
REVISION DETAIL
https://phab.mercurial-scm.org/D5008
AFFECTED FILES
mercurial/profiling.py
CHANGE DETAILS
diff --git a/mercurial/profiling.py b/mercurial/profiling.py
--- a/mercurial/profiling.py
+++ b/mercurial/profiling.py
@@ -61,7 +61,7 @@
else:
# format == 'text'
stats = lsprof.Stats(p.getstats())
- stats.sort(field)
+ stats.sort(pycompat.sysstr(field))
stats.pprint(limit=limit, file=fp, climit=climit)
@contextlib.contextmanager
To: indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list