Mercurial > hg
changeset 47842:1cb01c71ba32 stable
pyoxidized: adapt output of test-flagprocessor.t
The file path in the traceback become module name.
Differential Revision: https://phab.mercurial-scm.org/D11294
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 18 Aug 2021 12:49:55 +0200 |
parents | f1af5a084862 |
children | fcd464e6a482 |
files | tests/test-flagprocessor.t |
diffstat | 1 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-flagprocessor.t Wed Aug 18 12:42:16 2021 +0200 +++ b/tests/test-flagprocessor.t Wed Aug 18 12:49:55 2021 +0200 @@ -201,14 +201,17 @@ > EOF $ hg debugrebuilddirstate Traceback (most recent call last): - File "*/mercurial/extensions.py", line *, in _runextsetup (glob) + File "*/mercurial/extensions.py", line *, in _runextsetup (glob) (no-pyoxidizer !) + File "mercurial.extensions", line *, in _runextsetup (glob) (pyoxidizer !) extsetup(ui) File "*/tests/flagprocessorext.py", line *, in extsetup (glob) flagutil.addflagprocessor( (py38 !) validatehash, (no-py38 !) - File "*/mercurial/revlogutils/flagutil.py", line *, in addflagprocessor (glob) + File "*/mercurial/revlogutils/flagutil.py", line *, in addflagprocessor (glob) (no-pyoxidizer !) + File "mercurial.revlogutils.flagutil", line *, in addflagprocessor (glob) (pyoxidizer !) insertflagprocessor(flag, processor, flagprocessors) - File "*/mercurial/revlogutils/flagutil.py", line *, in insertflagprocessor (glob) + File "*/mercurial/revlogutils/flagutil.py", line *, in insertflagprocessor (glob) (no-pyoxidizer !) + File "mercurial.revlogutils.flagutil", line *, in insertflagprocessor (glob) (pyoxidizer !) raise error.Abort(msg) mercurial.error.Abort: cannot register multiple processors on flag '0x8'. (py3 !) Abort: cannot register multiple processors on flag '0x8'. (no-py3 !)