[PATCH 1 of 2 STABLE V2] revset: drop magic of fullreposet membership test (issue4682)
Yuya Nishihara
yuya at tcha.org
Sun May 24 05:24:38 CDT 2015
On Sun, 24 May 2015 13:48:12 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1432430973 -32400
> # Sun May 24 10:29:33 2015 +0900
> # Branch stable
> # Node ID c1758faf54617855d3f21152cd05e81fecf6cf6b
> # Parent fd905b2bea5967c71e71d25f29b2c7a04cafcadc
> revset: drop magic of fullreposet membership test (issue4682)
>
> This patch partially backs out d2de20e1451f and adds an alternative workaround
> to functions that evaluate "null" and "wdir()". Because the new workaround is
> incomplete, "first(null)" and "min(null)" don't work as expected. But they were
> not usable until 3.4 and "null" isn't commonly used, we can postpone a complete
> fix for 3.5.
> @@ -630,9 +630,9 @@ Test null revision
> Test working-directory revision
> $ hg debugrevspec 'wdir()'
> None
> +BROKEN: should include 'None'
> $ hg debugrevspec 'tip or wdir()'
> 9
> - None
This part won't be broken in default branch because of 40a2cf1c765b, 'revset:
drop redundant filteredset from right-hand side set of "or" operation'.
More information about the Mercurial-devel
mailing list