[PATCH 2 of 2] test-treemanifest: add globs for Windows

Augie Fackler raf at durin42.com
Wed May 27 13:23:32 CDT 2015


On Wed, May 27, 2015 at 11:51:23AM -0500, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1432743250 14400
> #      Wed May 27 12:14:10 2015 -0400
> # Node ID 83e07d0983ab226fbdb7768487688d3d94e474cb
> # Parent  47b7108755da3d425d6b6af0623074d404ea8e67
> test-treemanifest: add globs for Windows

Queued these, many thanks.

>
> diff --git a/tests/test-treemanifest.t b/tests/test-treemanifest.t
> --- a/tests/test-treemanifest.t
> +++ b/tests/test-treemanifest.t
> @@ -313,12 +313,12 @@
>  Test files from the root.
>
>    $ hg files -r .
> -  a/one.txt
> -  a/two.txt
> -  b/bar/fruits.txt
> -  b/bar/orange/fly/gnat.py
> -  b/bar/orange/fly/housefly.txt
> -  b/foo/apple/bees/flower.py
> +  a/one.txt (glob)
> +  a/two.txt (glob)
> +  b/bar/fruits.txt (glob)
> +  b/bar/orange/fly/gnat.py (glob)
> +  b/bar/orange/fly/housefly.txt (glob)
> +  b/foo/apple/bees/flower.py (glob)
>    c.txt
>    d.py
>
> @@ -326,10 +326,10 @@
>
>    $ mv .hg/store/meta/a oldmf
>    $ hg files -r . b
> -  b/bar/fruits.txt
> -  b/bar/orange/fly/gnat.py
> -  b/bar/orange/fly/housefly.txt
> -  b/foo/apple/bees/flower.py
> +  b/bar/fruits.txt (glob)
> +  b/bar/orange/fly/gnat.py (glob)
> +  b/bar/orange/fly/housefly.txt (glob)
> +  b/foo/apple/bees/flower.py (glob)
>    $ mv oldmf .hg/store/meta/a
>
>  Test files with just includes and excludes.
> @@ -338,7 +338,7 @@
>    $ mv .hg/store/meta/b/bar/orange/fly oldmf2
>    $ mv .hg/store/meta/b/foo/apple/bees oldmf3
>    $ hg files -r . -I b/bar -X b/bar/orange/fly -I b/foo -X b/foo/apple/bees
> -  b/bar/fruits.txt
> +  b/bar/fruits.txt (glob)
>    $ mv oldmf .hg/store/meta/a
>    $ mv oldmf2 .hg/store/meta/b/bar/orange/fly
>    $ mv oldmf3 .hg/store/meta/b/foo/apple/bees
> @@ -348,9 +348,9 @@
>    $ mv .hg/store/meta/a oldmf
>    $ mv .hg/store/meta/b/foo oldmf2
>    $ hg files -r . -X b/foo b
> -  b/bar/fruits.txt
> -  b/bar/orange/fly/gnat.py
> -  b/bar/orange/fly/housefly.txt
> +  b/bar/fruits.txt (glob)
> +  b/bar/orange/fly/gnat.py (glob)
> +  b/bar/orange/fly/housefly.txt (glob)
>    $ mv oldmf .hg/store/meta/a
>    $ mv oldmf2 .hg/store/meta/b/foo
>
> @@ -360,8 +360,8 @@
>    $ mv .hg/store/meta/a oldmf
>    $ mv .hg/store/meta/b/foo oldmf2
>    $ hg files -r . -I b/bar/orange -I a b
> -  b/bar/orange/fly/gnat.py
> -  b/bar/orange/fly/housefly.txt
> +  b/bar/orange/fly/gnat.py (glob)
> +  b/bar/orange/fly/housefly.txt (glob)
>    $ mv oldmf .hg/store/meta/a
>    $ mv oldmf2 .hg/store/meta/b/foo
>
> @@ -372,7 +372,7 @@
>    $ mv .hg/store/meta/b/foo oldmf2
>    $ mv .hg/store/meta/b/bar/orange oldmf3
>    $ hg files -r . glob:**.txt -I b/bar -X b/bar/orange
> -  b/bar/fruits.txt
> +  b/bar/fruits.txt (glob)
>    $ mv oldmf .hg/store/meta/a
>    $ mv oldmf2 .hg/store/meta/b/foo
>    $ mv oldmf3 .hg/store/meta/b/bar/orange
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list