Patchwork D11294: pyoxidized: adapt output of test-flagprocessor.t

login
register
mail settings
Submitter phabricator
Date Aug. 18, 2021, 1:24 p.m.
Message ID <differential-rev-PHID-DREV-mh5q5idhmcj4vpa2p3od-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49608/
State Superseded
Headers show

Comments

phabricator - Aug. 18, 2021, 1:24 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  The file path in the traceback become module name.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

REVISION DETAIL
  https://phab.mercurial-scm.org/D11294

AFFECTED FILES
  tests/test-flagprocessor.t

CHANGE DETAILS




To: marmoute, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/tests/test-flagprocessor.t b/tests/test-flagprocessor.t
--- a/tests/test-flagprocessor.t
+++ b/tests/test-flagprocessor.t
@@ -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 !)