[Top][All Lists]
[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: |
Sun, 24 Jul 2005 07:54:46 +0200 (CEST) |
In message <address@hidden> on Fri, 22 Jul 2005 21:21:40 -0700, Nathaniel Smith
<address@hidden> said:
njs> I'm less interested in Richard's version of h:,
Good, a straight opinion. I haven't heard it before.
njs> that works on an arbitrary set of revisions, honestly; it seems
njs> useful only for automation,
You're right, the first thing I had in mind was automation. However,
I've had plenty of use for it myself on the command line, with things
like diff and log.
njs> where you already have access to 'automate erase_ancestors', and
njs> it uses up the letter 'h' without being nearly so convenient for
njs> command-line use. But I'll listen to arguments...
I'm not sure what's wrong with the letter 'h', but I'll listen to
arguments.
In message <address@hidden> on Fri, 22 Jul 2005 21:24:23 -0700, Nathaniel Smith
<address@hidden> said:
njs> Oh, forgot to mention, in the mean time you can also use a
njs> workaround:
njs>
njs> $ alias H='monotone automate heads'
njs> $ monotone diff -r`H branch1` -r`H branch2`
njs>
njs> Could use some better error checking for when there are multiple
njs> heads, etc., but hey...
OK, that works for branches. How about wanting to select the
head-most arbitrary cert (that was my primary focus)?
Also, how should Windows users do this? Does Windows have the same
backtick possibilities?
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