D9540: tests: conditionalize a few Windows specific error messages
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Tue Dec 8 04:01:00 UTC 2020
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.
REPOSITORY
rHG Mercurial
BRANCH
default
REVISION DETAIL
https://phab.mercurial-scm.org/D9540
AFFECTED FILES
tests/test-template-map.t
CHANGE DETAILS
diff --git a/tests/test-template-map.t b/tests/test-template-map.t
--- a/tests/test-template-map.t
+++ b/tests/test-template-map.t
@@ -139,7 +139,8 @@
$ mkdir somedir
$ echo "__base__ = somedir" > map-base-dir
$ hg log -l1 -T./map-base-dir
- abort: Is a directory: '$TESTTMP/a/somedir'
+ abort: Is a directory: '$TESTTMP/a/somedir' (no-windows !)
+ abort: $TESTTMP/a/somedir: Access is denied (windows !)
[255]
Test including a built-in template map
@@ -1279,7 +1280,8 @@
Error if style is a directory:
$ hg log --style somedir
- abort: Is a directory: 'somedir'
+ abort: Is a directory: 'somedir' (no-windows !)
+ abort: somedir: Access is denied (windows !)
[255]
Error if style is a directory whose name is a built-in style:
To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel
More information about the Mercurial-devel
mailing list