[PATCH V2] revset: fix a crash in parents() when 'wdir()' is in the set
mpm at selenic.com
Tue Jun 30 14:15:35 CDT 2015
On Tue, 2015-06-30 at 10:26 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1435588496 14400
> # Mon Jun 29 10:34:56 2015 -0400
> # Node ID b84b980cf15bdda20c474f8f5ff6b3e367164f7e
> # Parent ff5172c830022b64cc5bd1bae36b2276e9dc6e5d
> revset: fix a crash in parents() when 'wdir()' is in the set
This one's queued for default, thanks.
FYI, we've now got breakage in test-subrepo-deep-nested-change.t in this
area. The calculation of changessince in archive explodes due to trying
to use repo.revs("%d") on a workingctx. I've got a patch to add a %c
revset.formatspec that knows how to take a context object and turn it
into a rev or 'wdir()', but this isn't quite sufficient because ::wdir()
doesn't work and wdir()^ has the same bug as parents().
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel