[PATCH] test-git-export: add globs the test runner wants on Windows

Matt Harbison mharbison72 at gmail.com
Sun Mar 29 16:55:03 UTC 2015


# HG changeset patch
# User Matt Harbison <matt_harbison at yahoo.com>
# Date 1427601614 14400
#      Sun Mar 29 00:00:14 2015 -0400
# Node ID e9a90277b177f48078f98f0134b73f0c968b9e6e
# Parent  e04efd41c9af8c61d9c1de8b500bc9c2c76552f4
test-git-export: add globs the test runner wants on Windows

The only difference for the first two was to add the globs, but the third line
of output on Windows was '..\dir2\copy'.  I'm not sure why 'copy' is output on
Windows instead of '*'.

diff --git a/tests/test-git-export.t b/tests/test-git-export.t
--- a/tests/test-git-export.t
+++ b/tests/test-git-export.t
@@ -99,7 +99,7 @@
   warning: dir2 not inside relative root dir1
 
   $ hg diff --git --root dir1 -r 1:tip 'dir2/{copy}'
-  warning: dir2/{copy} not inside relative root dir1
+  warning: dir2/{copy} not inside relative root dir1 (glob)
 
   $ cd dir1
   $ hg diff --git --root .. -r 1:tip
@@ -161,9 +161,9 @@
    new
   +copy1
   $ hg diff --git --root . -r 1:tip ../dir2
-  warning: ../dir2 not inside relative root .
+  warning: ../dir2 not inside relative root . (glob)
   $ hg diff --git --root . -r 1:tip '../dir2/*'
-  warning: ../dir2/* not inside relative root .
+  warning: ../dir2/* not inside relative root . (glob)
   $ cd ..
 
 Rename:


More information about the Mercurial-devel mailing list