monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] head selector


From: Richard Levitte - VMS Whacker
Subject: Re: [Monotone-devel] head selector
Date: Mon, 25 Jul 2005 09:34:13 +0200 (CEST)

In message <address@hidden> on Sun, 24 Jul 2005 23:38:20 -0700, Nathaniel Smith 
<address@hidden> said:

njs> On Sun, Jul 24, 2005 at 07:54:46AM +0200, Richard Levitte - VMS Whacker 
wrote:
njs> > In message <address@hidden> on Fri, 22 Jul 2005 21:21:40 -0700, 
Nathaniel Smith <address@hidden> said:
njs> > 
njs> > njs> I'm less interested in Richard's version of h:,
njs> > 
njs> > Good, a straight opinion.  I haven't heard it before.
njs> 
njs> Sorry, thought I'd mentioned it.

Don't be sorry, I'm glad it was stated.  That's good ground for
discussion.

njs> > njs> that works on an arbitrary set of revisions, honestly; it
njs> > njs> seems useful only for automation,
njs> > 
njs> > You're right, the first thing I had in mind was automation.
njs> > However, I've had plenty of use for it myself on the command
njs> > line, with things like diff and log.
njs> 
njs> And for the heads of non-branch sets?

Yup.

monotone update -r h:c:levitte-tested=1

(that basically mimics the approval functionality but with a private
cert so as not to intrude on others)

njs> > I'm not sure what's wrong with the letter 'h', but I'll listen to
njs> > arguments.
njs> 
njs> Well, simply, that it would be better used for branches, which is
njs> a much more intuitive meaning of "head" to the average user; and
njs> probably 'head of branch foo' is important enough to get short
njs> syntax, and an obvious name.

OK, so nothing stops you from having a B: that mimics h:b:.  The
question I have is, why limit it to branches.

And if 'h' doesn't sound right to you, what letter do you propose?
(oh, and please, anyone with an opinion is welcome to contribute!)

At this point, I'm wondering if it's the functionality or the letter
you don't like...

njs> > OK, that works for branches.  How about wanting to select the
njs> > head-most arbitrary cert (that was my primary focus)?
njs> 
njs> monotone automate select c:<cert>=<val> | monotone automate erase_ancestors
njs> 
njs> I guess you have to use a shell function/shell script, since the
njs> arguments don't go at the end :-).

Nope, just the address@hidden argument :-)

njs> > Also, how should Windows users do this?  Does Windows have the same
njs> > backtick possibilities?
njs> 
njs> Yes, well, it is labeled "in the mean time...a workaround" for a
njs> reason :-).

Well, h: (or whatever letter you want there instead) is actually a
permanent solution that works, as far as I can tell.

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

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