[PATCH] test-revset: update test that isn't broken on default branch

Augie Fackler raf at durin42.com
Tue May 26 13:45:17 CDT 2015


On Tue, May 26, 2015 at 11:56:52PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1432649690 -32400
> #      Tue May 26 23:14:50 2015 +0900
> # Node ID e43162c556830f24e7de564786bded96fecdc947
> # Parent  61b3529e23778f542044d24bb1ccd5688516a7f0
> test-revset: update test that isn't broken on default branch

Nice, I was just running into this. Queued, thanks.

>
> "X or wdir()" just works because the default branch includes 40a2cf1c765b.
>
> diff --git a/tests/test-revset.t b/tests/test-revset.t
> --- a/tests/test-revset.t
> +++ b/tests/test-revset.t
> @@ -708,9 +708,9 @@ BROKEN: should be '-1'
>  Test working-directory revision
>    $ hg debugrevspec 'wdir()'
>    None
> -BROKEN: should include 'None'
>    $ hg debugrevspec 'tip or wdir()'
>    9
> +  None
>    $ hg debugrevspec '0:tip and wdir()'
>
>    $ log 'outgoing()'
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list