[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] [PATCH] head selector
From: |
Richard Levitte - VMS Whacker |
Subject: |
Re: [Monotone-devel] [PATCH] head selector |
Date: |
Sun, 26 Jun 2005 19:36:42 +0200 (CEST) |
In message <address@hidden> on Sun, 26 Jun 2005 12:09:28 -0500, Brian Downing
<address@hidden> said:
bdowning> On Sun, Jun 26, 2005 at 01:08:29PM +0200, Richard Levitte - VMS
Whacker wrote:
bdowning> > Hmm, I'm working on a different idea that happens to use
bdowning> > the same selector letter. My idea is to have a more
bdowning> > generic head (or rather, 'head-most') selector, which
bdowning> > would work by placing 'h:' before any selector. It only
bdowning> > works when selectors are used to get one or more
bdowning> > revisions, and simply does erase_ancestors() on the bunch
bdowning> > of fetched revision ids.
Patch attached.
bdowning> I'd still like to have a way to get "heads of the current
bdowning> branch" without actually typing the branch. Probably making
bdowning> 'b:' return the revs in the current branch would do this.
bdowning> (With my patch to it to make it a glob, 'b:' will always
bdowning> return nothing as it is, so it could be overloaded.)
In the particular case you mentioned ('monotone update -b {branch} -r h:')
I still do not see why there should be a need to specify the head
revision either way. Can you see another command where having to
specify that you want the head of the branch given in --branch makes
sense?
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
- [Monotone-devel] [PATCH] head selector, Brian Downing, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Richard Levitte - VMS Whacker, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Brian Downing, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector,
Richard Levitte - VMS Whacker <=
- Re: [Monotone-devel] [PATCH] head selector, Richard Levitte - VMS Whacker, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Brian Downing, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Richard Levitte - VMS Whacker, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Brian Downing, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Richard Levitte - VMS Whacker, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Brian Downing, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector, Richard Levitte - VMS Whacker, 2005/06/26