Listing changeset successors in mercurial 4.0

Jan Vrany jan.vrany at fit.cvut.cz
Sun Apr 1 05:36:53 UTC 2018


On Sat, 2018-03-31 at 11:01 -0400, Augie Fackler wrote:
> > On Mar 28, 2018, at 6:34 PM, Jan Vrany <jan.vrany at fit.cvut.cz>
> > wrote:
> > 
> > Hi there, 
> > 
> > I'm using evolve extension. Sometimes I need to list 
> > successors of a particular changeset. With mercurial
> > 4.1 and higher, I simply do
> > 
> >   hg --hidden log -r 'successors(891c10267bc3)'
> > 
> > How can I do this with older versions? It seems that
> > `successors()` in revsets are supported since 4.1.
> 
> I don’t think there’s a good way to do this in older versions. What’s
> stopping you from upgrading?
> 

Thanks! That's what I wanted to know. It's not about upgrading or not,
I'm maintaining developing Mercurial integration into IDE. I'd like to
support as much versions as possible "out of the box". However, if
something turns out to be impossible on given version, not a big deal. 
There are already other features with mercurial version requirements. 

Thanks a lot!

Jan


More information about the Mercurial mailing list