[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [PATCH] parent selector 'p:xxx'

From: Nathaniel Smith
Subject: Re: [Monotone-devel] [PATCH] parent selector 'p:xxx'
Date: Sat, 6 Oct 2007 12:56:15 -0700
User-agent: Mutt/1.5.13 (2006-08-11)

On Sat, Oct 06, 2007 at 07:09:03PM +0200, Ralf S. Engelschall wrote:
> So, find appended a small patch against h:n.v.m which implements a
> "p:<rev>" selector. With this I now can finally use short commands like:
>     $ mtn diff -r p:<rev> -r <rev>
> The <rev> here can be an appreviated revision, too.

The patch contains no tests, though otherwise looks reasonable enough.

What happens if <rev> is a root revision?

"Show me stuff about revision <blah>" seems like a pretty fundamental
command -- "stuff" presumably including some metadata summary like log
gives you, and also a diff or so.  Does anyone have a good idea for
what this command would be called?  It would be pretty easy to add,
and might solve your particular problem in a nicer way.  (Also the
commit notification problem that Matthew was fighting with, etc.)

-- Nathaniel

Eternity is very long, especially towards the end.
  -- Woody Allen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]