[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: |
Mon, 27 Jun 2005 00:27:10 +0200 (CEST) |
In message <address@hidden> on Sun, 26 Jun 2005 17:07:04 -0500, Brian Downing
<address@hidden> said:
bdowning> On Sun, Jun 26, 2005 at 11:35:07PM +0200, Richard Levitte - VMS
Whacker wrote:
bdowning> > That's when monotone should tell the user that the branch
bdowning> > has several heads and that he/she has to make a choice,
bdowning> > using --revision. I see absolutely nothing wrong with
bdowning> > that. But then, h: meaning "head of branch" doesn't make
bdowning> > much difference either.
bdowning>
bdowning> That's my point for why the current behavior is useful -
bdowning> just giving a list of the current heads doesn't tell the
bdowning> user which are decendents of the current revision. (Perhaps
bdowning> it should.)
OK, so do I understand you correctly, do you want it to work like
this?
if only --branch is given, use the heads of that branch as a
collection of revisions to use (call it 'revisions')
if only --revision is given, use that as a collection of revisions to
use (again, 'revisions')
if both --branch and --revisions were given, use the intersection
between the branch heads and the revisions and use that as a
collection of revisions to use
if there are any of the collected revisions that are descendents of
the current revision, reduce the collection to only those
descendents.
if the collection holds more than one, alert the user.
you now have one revision to update to.
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, 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
- Re: [Monotone-devel] [PATCH] head selector, Brian Downing, 2005/06/26
- Re: [Monotone-devel] [PATCH] head selector,
Richard Levitte - VMS Whacker <=