[PATCH 7 of 8 V2] revset: add origins() predicate
Matt Mackall
mpm at selenic.com
Wed Jun 20 13:41:47 CDT 2012
On Fri, 2012-06-08 at 00:58 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1338949238 14400
> # Node ID a205c9dbef81a2ca5e3af665441e102fc5e219c1
> # Parent f49f64c658a1feb70aade60da4c764772d2d5162
> revset: add origins() predicate
>
> hg log -r origins(all()) # all src csets copied anywhere
It's not clear to me how this is different from origin(all()).
> + """``origins(set)``
> + Changesets in the set that are the original source of a graft, transplant or
> + a rebase operation anywhere in the repository.
> + """
Ahh.
origins(someset) == (someset and origin(all()))
I don't think we need this.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list