hg diff --branch
Matt Mackall
mpm at selenic.com
Sun Feb 15 00:20:52 CST 2009
On Fri, 2009-02-13 at 19:56 +0300, Stepan Koltsov wrote:
> Hi, all...
>
> please review my patch. I really need this functionality every day :)
I think the functionality is great, however I don't like the approach.
We've already got too many options. Imagine instead the power of an
improved revision specification syntax:
hg diff -r branch-base::.
That's the direction we should be going in. For starters, it's more
powerful: I can find the base of any branch or any revision. But even
better, I can use it in any command wherever a revision specifier is
called for. And it obviously generalizes to other extremely useful
things like parent::. or ancestor::a:b, etc.
All that's needed is to add some extra smarts to cmdutil:revpair and
friends.
--
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel
mailing list