[PATCH] add rev1::rev2 syntax for topological revision range selection

Alexander Solovyov piranha at piranha.org.ua
Mon Oct 26 08:39:13 UTC 2009


On Sun, Oct 25, 2009 at 9:23 PM, Matt Mackall <mpm at selenic.com> wrote:
> I want to eventually end up with a powerful syntax that allows us to
> specify all sorts of relationships, including descendants, ancestors,
> date ranges, keywords, etc. We can't get there in an ad hoc fashion or
> we'll paint ourselves into a corner. We have to have a plan and an
> expandable syntax first.

We've discussed yesterday at #mercurial another idea which I've implemented as
an extension:

http://hg.piranha.org.ua/branchspec/

It returns range of revisions which form branch, ending with supplied head by
using "hg log -r #head" syntax.

I guess this is quite ad-hoc for your taste too, but I have nothing better in
mind yet - but if you (or anybody else) do, I'd be happy to explore
possibilities and write code.

-- 
Alexander



More information about the Mercurial-devel mailing list