D5690: py3: use regular expression to deal with ENOENT formatting change
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Jan 24 20:57:25 UTC 2019
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Yes, really.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D5690
AFFECTED FILES
tests/test-dispatch.t
CHANGE DETAILS
diff --git a/tests/test-dispatch.t b/tests/test-dispatch.t
--- a/tests/test-dispatch.t
+++ b/tests/test-dispatch.t
@@ -95,7 +95,7 @@
[255]
$ hg log -b --cwd=inexistent default
- abort: $ENOENT$: 'inexistent'
+ abort: \$ENOENT\$: ('inexistent'|inexistent) (re)
[255]
$ hg log -b '--config=ui.traceback=yes' 2>&1 | grep '^Traceback'
@@ -188,7 +188,7 @@
specified" should include filename even when it is empty
$ hg -R a archive ''
- abort: $ENOENT$: ''
+ abort: \$ENOENT\$(: '')? (re)
[255]
#if no-outer-repo
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list