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: Hendrik Boom
Subject: Re: [Monotone-devel] New branch name with no other changes
Date: Thu, 9 Jun 2011 21:48:36 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

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.

Thanks.  approve worked fine.

-- hendrik

> 
> -- 
> GPG-Key 0x160D1092 | address@hidden | http://thomaskeller.biz
> Please note that according to the EU law on data retention, information
> on every electronic information exchange might be retained for a period
> of six months or longer: http://www.vorratsdatenspeicherung.de/?lang=en
> 



> _______________________________________________
> Monotone-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/monotone-devel




reply via email to

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