monotone-devel
[Top][All Lists]
Advanced

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

[Monotone-devel] Re: Monotone-devel Digest, Vol 20, Issue 40


From: B. J. Girard
Subject: [Monotone-devel] Re: Monotone-devel Digest, Vol 20, Issue 40
Date: Tue, 21 Dec 2004 12:12:32 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Bruce Stephens <address@hidden> wrote

"B. J. Girard" <address@hidden> writes:
After following the instructions at
     http://www.venge.net/monotone/self-hosting.html
I typed:
     monotone --db=~/etc/monotone/monotone.db
     --branch=net.venge.monotone  checkout head monotone-src

It gave me:
monotone: expanding selection 'head'
monotone: expanded to '2645f7a4b96489ad0d10a94d83da4420d86592c3'

I would expect this to check out the head of branch "net.venge.monotone".

(The combination of --branch=net.venge.monotone and the selector head
appears to expand the same as the selector
b:net.venge.monotone/b:head, and in this case that's unique.)

In case it's not obvious, this behaviour seem very unlucky: almost
always monotone prints out an error when you make an error.  You've
just been unlucky.

Also, the behaviour of not treating the --branch argument more
literally seems wrong to me.  If I want a selector
b:net.venge.monotone, then I think I ought to be able to just say that
(and anywhere where I can't currently do that, maybe there should be
another standard option --selector=).

Hmm, okay, so there's no command to automatically check out the head of a branch? I have to use 'monotone heads', get the revision id, then feed it to 'monotone checkout'?

Seems to me there should be a 'head' selector.

Anyroad, this newbie thanks you very much.

--
B. J. Girard






reply via email to

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