[PATCH 1 of 2 STABLE] revset: make children() not look at null parents (issue4682)

Yuya Nishihara yuya at tcha.org
Sat May 23 18:57:41 CDT 2015


On Sat, 23 May 2015 16:58:37 +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1432353720 -32400
> #      Sat May 23 13:02:00 2015 +0900
> # Branch stable
> # Node ID 34e51d3d198185a395c88ce569de2a4aafa6316b
> # Parent  2664f536a97e9893f44539b71ada43b87ca79e6d
> revset: make children() not look at null parents (issue4682)
> 
> This is the simplest workaround for the issue of "children(branch(default))",
> where "branch(default)" is evaluated to "<filteredset <fullreposet>>".
> 
> The next patch will fix the crash caused by "branch(null)", but it will make
> "nullrev in <branch(default)>" be True because of d2de20e1451f. Therefore,
> without this patch, "children(branch(default))" would return everything but
> merge revisions.

Please disregard this patch.
I found the same issue by "hg log -Gr branch(default)".


More information about the Mercurial-devel mailing list