Mercurial > hg
comparison mercurial/statprof.py @ 42785:c00005975c91
perf: don't depend on pycompat for older Mercurial versions
We already define local _sysstr() and _xrange() for compatibility, so
we should use those.
Also create a similar local _bytestr() corresponding to
pycompat.bytestr().
Differential Revision: https://phab.mercurial-scm.org/D6745
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 19 Aug 2019 10:34:10 -0700 |
parents | 0ae593e791fb |
children | 3f81d58aae25 |
comparison
equal
deleted
inserted
replaced
42784:777a9df5a1ef | 42785:c00005975c91 |
---|