hg diff --branch
mpm at selenic.com
Sun Feb 15 11:10:08 CST 2009
On Sun, 2009-02-15 at 14:27 +0100, Martin Geisler wrote:
> Matt Mackall <mpm at selenic.com> writes:
> > 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.
> I think the "::" syntax clashes a bit too much with the ":" range
> syntax, and I would suggest using normal parenthesis as in function
You must not own a Unix shell.
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel