diff --git a/tests/test-annotate.t b/tests/test-annotate.t --- a/tests/test-annotate.t +++ b/tests/test-annotate.t @@ -553,28 +553,20 @@ annotate renamed file annotate missing file $ rm baz -#if windows + $ hg annotate -ncr "wdir()" baz - abort: $TESTTMP\repo\baz: The system cannot find the file specified + abort: $TESTTMP\repo\baz: The system cannot find the file specified (windows !) + abort: No such file or directory: $TESTTMP/repo/baz (no-windows !) [255] -#else - $ hg annotate -ncr "wdir()" baz - abort: No such file or directory: $TESTTMP/repo/baz - [255] -#endif annotate removed file $ hg rm baz -#if windows + $ hg annotate -ncr "wdir()" baz - abort: $TESTTMP\repo\baz: The system cannot find the file specified + abort: $TESTTMP\repo\baz: The system cannot find the file specified (windows !) + abort: No such file or directory: $TESTTMP/repo/baz (no-windows !) [255] -#else - $ hg annotate -ncr "wdir()" baz - abort: No such file or directory: $TESTTMP/repo/baz - [255] -#endif $ hg revert --all --no-backup --quiet $ hg id -n