[PATCH V2] revset: add 'only' revset

Sean Farley sean.michael.farley at gmail.com
Fri Feb 28 16:58:37 CST 2014


Matt Mackall <mpm at selenic.com> writes:

> On Fri, 2014-02-28 at 14:40 -0800, Durham Goode wrote:
>> # HG changeset patch
>> # User Durham Goode <durham at fb.com>
>> # Date 1384621028 28800
>> #      Sat Nov 16 08:57:08 2013 -0800
>> # Node ID 4cafddd6e1e13f4215a0e6711e9568f5933f62b3
>> # Parent  60c308b932ebd8a77f497ae285774fdced382eee
>> revset: add 'only' revset
>
> Queued for default, thanks.
>
> Perhaps you can add some examples to the rebase and histedit help?
>
>> hg histedit -r 'first(only(.))'
>
> Why does histedit need first? Can we fix that?

hisedit needs the first ancestor that you want to edit ... unless you're
suggesting always edit the entire branch?

What about a name of 'branchlet'? Too confusing?


More information about the Mercurial-devel mailing list