monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] head selector


From: Nathaniel Smith
Subject: Re: [Monotone-devel] head selector
Date: Fri, 22 Jul 2005 21:24:23 -0700
User-agent: Mutt/1.5.9i

On Fri, Jul 22, 2005 at 09:21:40PM -0700, Nathaniel Smith wrote:
> On Fri, Jul 22, 2005 at 05:55:29PM +0200, Thomas Moschny wrote:
> > Hi,
> > 
> > is there an easy way to select the head version of a branch? I recall that 
> > this has been discussed earlier on the list, but within a different context 
> > (update). However, I want to use it for diff'ing:
> 
> There are a lot of places that a head selector would be really useful.
> If someone showed up with a patch with docs and tests, I'd probably
> apply it...

Oh, forgot to mention, in the mean time you can also use a workaround:

$ alias H='monotone automate heads'
$ monotone diff -r`H branch1` -r`H branch2`

Could use some better error checking for when there are multiple
heads, etc., but hey...

-- Nathaniel

-- 
.i dei jitfa fanmo xatra




reply via email to

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