# HG changeset patch # User Mads Kiilerich # Date 1321411514 -3600 # Node ID 117f9190c1ba3be735041707176136ad74258e63 # Parent d6d7b56ec346c0c8cba491429496f35cee5aa858 tests: hide 'No such file or directory' messages Windows will use a different and localized message. diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-acl.t --- a/tests/test-acl.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-acl.t Wed Nov 16 03:45:14 2011 +0100 @@ -868,10 +868,10 @@ added 3 changesets with 3 changes to 3 files calling hook pretxnchangegroup.acl: hgext.acl.hook acl: checking access for user "barney" - error: pretxnchangegroup.acl hook raised an exception: [Errno 2] No such file or directory: '../acl.config' + error: pretxnchangegroup.acl hook raised an exception: [Errno 2] *: '../acl.config' (glob) transaction abort! rollback completed - abort: No such file or directory: ../acl.config + abort: *: ../acl.config (glob) no rollback information available 0:6675d58eff77 diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-add.t --- a/tests/test-add.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-add.t Wed Nov 16 03:45:14 2011 +0100 @@ -123,11 +123,11 @@ ? a.orig $ hg add c && echo "unexpected addition of missing file" - c: No such file or directory + c: * (glob) [1] $ echo c > c $ hg add d c && echo "unexpected addition of missing file" - d: No such file or directory + d: * (glob) [1] $ hg st M a diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-audit-path.t --- a/tests/test-audit-path.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-audit-path.t Wed Nov 16 03:45:14 2011 +0100 @@ -80,5 +80,5 @@ $ hg manifest -r4 /tmp/test $ hg update -Cr4 - abort: No such file or directory: $TESTTMP/target//tmp/test + abort: *: $TESTTMP/target//tmp/test (glob) [255] diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-bundle.t --- a/tests/test-bundle.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-bundle.t Wed Nov 16 03:45:14 2011 +0100 @@ -377,7 +377,7 @@ Outgoing -R does-not-exist.hg vs partial2 in partial $ hg -R bundle://../does-not-exist.hg outgoing ../partial2 - abort: No such file or directory: ../does-not-exist.hg + abort: *: ../does-not-exist.hg (glob) [255] $ cd .. @@ -410,7 +410,7 @@ recurse infinitely (issue 2528) $ hg clone full.hg '' - abort: No such file or directory + abort: * (glob) [255] test for http://mercurial.selenic.com/bts/issue216 diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-clone.t --- a/tests/test-clone.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-clone.t Wed Nov 16 03:45:14 2011 +0100 @@ -43,7 +43,7 @@ Invalid dest '' must abort: $ hg clone . '' - abort: No such file or directory + abort: * (glob) [255] No update, with debug option: @@ -107,7 +107,7 @@ Invalid dest '' with --pull must abort (issue2528): $ hg clone --pull a '' - abort: No such file or directory + abort: * (glob) [255] Clone to '.': diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-commit.t --- a/tests/test-commit.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-commit.t Wed Nov 16 03:45:14 2011 +0100 @@ -73,7 +73,7 @@ $ cd .. $ hg commit -m commit-14 does-not-exist - abort: does-not-exist: No such file or directory + abort: does-not-exist: * (glob) [255] $ ln -s foo baz $ hg commit -m commit-15 baz diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-diff-hashes.t --- a/tests/test-diff-hashes.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-diff-hashes.t Wed Nov 16 03:45:14 2011 +0100 @@ -2,8 +2,8 @@ $ cd a $ hg diff inexistent1 inexistent2 - inexistent1: No such file or directory - inexistent2: No such file or directory + inexistent1: * (glob) + inexistent2: * (glob) $ echo bar > foo $ hg add foo diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-merge-prompt.t --- a/tests/test-merge-prompt.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-merge-prompt.t Wed Nov 16 03:45:14 2011 +0100 @@ -77,7 +77,7 @@ $ status --- status --- - file2: No such file or directory + file2: * (glob) C file1 --- file1 --- 1 @@ -133,7 +133,7 @@ $ status --- status --- - file2: No such file or directory + file2: * (glob) C file1 --- file1 --- 1 diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-mq-qnew.t --- a/tests/test-mq-qnew.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-mq-qnew.t Wed Nov 16 03:45:14 2011 +0100 @@ -123,7 +123,7 @@ A series A uncommitted.patch % qnew missing - abort: missing: No such file or directory + abort: missing: * (glob) % qnew -m foo bar @@ -190,7 +190,7 @@ A series A uncommitted.patch % qnew missing - abort: missing: No such file or directory + abort: missing: * (glob) % qnew -m # HG changeset patch # Parent diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-qrecord.t --- a/tests/test-qrecord.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-qrecord.t Wed Nov 16 03:45:14 2011 +0100 @@ -107,7 +107,7 @@ $ echo "mq=nonexistant" >> $HGRCPATH $ hg help qrecord - *** failed to import extension mq from nonexistant: [Errno 2] No such file or directory + *** failed to import extension mq from nonexistant: [Errno 2] * (glob) hg qrecord [OPTION]... PATCH [FILE]... interactively record a new patch diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-revert.t --- a/tests/test-revert.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-revert.t Wed Nov 16 03:45:14 2011 +0100 @@ -82,7 +82,7 @@ should not find b $ hg status b - b: No such file or directory + b: * (glob) should show a c e diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-status-color.t --- a/tests/test-status-color.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-status-color.t Wed Nov 16 03:45:14 2011 +0100 @@ -134,7 +134,7 @@ hg status modified added removed deleted unknown never-existed ignored: $ hg status --color=always modified added removed deleted unknown never-existed ignored - never-existed: No such file or directory + never-existed: * (glob) \x1b[0;32;1mA added\x1b[0m (esc) \x1b[0;31;1mR removed\x1b[0m (esc) \x1b[0;36;1;4m! deleted\x1b[0m (esc) diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-status.t --- a/tests/test-status.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-status.t Wed Nov 16 03:45:14 2011 +0100 @@ -127,7 +127,7 @@ hg status modified added removed deleted unknown never-existed ignored: $ hg status modified added removed deleted unknown never-existed ignored - never-existed: No such file or directory + never-existed: * (glob) A added R removed ! deleted diff -r d6d7b56ec346 -r 117f9190c1ba tests/test-walk.t --- a/tests/test-walk.t Wed Nov 16 03:45:14 2011 +0100 +++ b/tests/test-walk.t Wed Nov 16 03:45:14 2011 +0100 @@ -274,7 +274,7 @@ f mammals/skunk mammals/skunk $ hg debugwalk 'glob:j*' $ hg debugwalk NOEXIST - NOEXIST: No such file or directory + NOEXIST: * (glob) $ mkfifo fifo $ hg debugwalk fifo