[PATCH] test-git-export: add globs the test runner wants on Windows
Augie Fackler
raf at durin42.com
Mon Mar 30 09:38:23 CDT 2015
On Sun, Mar 29, 2015 at 12:55:03PM -0400, Matt Harbison wrote:
> # 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
Queued, thanks.
>
> 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:
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list