monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] New branch name with no other changes


From: Stephen Leake
Subject: Re: [Monotone-devel] New branch name with no other changes
Date: Sun, 12 Jun 2011 04:33:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt)

Hendrik Boom <address@hidden> writes:

> On Thu, Jun 09, 2011 at 08:46:40PM +0200, Thomas Keller wrote:
>> Am 09.06.11 20:14, schrieb Hendrik Boom:
>> > I checked out a new workspace, and I want to check it in again unchenged 
>> > with a new branch name  -- the one I want to use to make changes.  I'd 
>> > like to make it clear that the new branch is starting in the same state 
>> > as the current head in the old one.
>> > 
>> > But when I try to check in, it fails:
>> > 
>> > address@hidden:~/fanfic/theShadowChronicles-MarkMacKinnon/edited$ 
>> > mtn commit 
>> > --branch=com.pooq.hendrik.othersfanfic.theShadowChronicles.cleanup
>> > mtn: misuse: no changes to commit
>> > 
>> > Well, yes, there were no changes in any of the files, but the branch was 
>> > different.
>> > 
>> > Is there some conceptual reason why a branch name change should not be 
>> > enough to do a commit?
>> 
>> Yes, because the branch name is not part of the revision nor the
>> manifest. Its just metadata tacked onto an already created revision. In
>> your case it should be enough to issue a new branch cert either through
>> mtn cert or mtn approve.
>> 
>> Thomas.
>
> One could argue whether this is a user-interface problem or an elegant 
> design, but I won't bother; i'm getting on with the project I'm working 
> on.

That is certainly the common result of this topic; it comes up for most
new users and they complain/ask; the get a useful answer that works but
somehow feels wrong, but they just use it and move on.

It never rises to the point of being a big enough problem to fix :).

-- 
-- Stephe



reply via email to

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