This revision was automatically updated to reflect the committed changes.
Closed by commit rHG5e78c100a215: hg: wrap the highest layer in the `hg` script
possible in trace event (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-sc
durin42 added a comment.
I think this is ready? Do I owe you anything else on it?
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D4346
To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
___
Mercurial-dev
durin42 updated this revision to Diff 10620.
durin42 edited the summary of this revision.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4346?vs=10496&id=10620
REVISION DETAIL
https://phab.mercurial-scm.org/D4346
AFFECTED FILES
hg
CHANGE DETAILS
dif
indygreg requested changes to this revision.
indygreg added inline comments.
This revision now requires changes to proceed.
INLINE COMMENTS
> hg:23-30
> +libdir = '@LIBDIR@'
>
> -if libdir != '@' 'LIBDIR' '@':
> -if not os.path.isabs(libdir):
> -libdir = os.path.join(os.path.dir
indygreg added inline comments.
INLINE COMMENTS
> hg:14-21
> +from hgdemandimport import tracing
> +with tracing.log('hg script'):
> +if os.environ.get('HGUNICODEPEDANTRY', False):
> +try:
> +reload(sys)
> +sys.setdefaultencoding("undefined")
> +except
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
This should help us have a better idea of what "interpreter startup
costs" look like.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org