[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] I think this behavior might be wrong....
From: |
Brian May |
Subject: |
Re: [Monotone-devel] I think this behavior might be wrong.... |
Date: |
Wed, 23 May 2007 13:13:06 +1000 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) |
>>>>> "J" == J Decker <J> writes:
J> mtn --db=test.db db init
J> mtn --db=test.db genkey temp
J> mtn --db=test.db --key=temp --branch=branch1 setup .
J> echo "Branch1" >file
J> mtn --db=test.db --key=temp add file
J> mtn --db=test.db --key=temp commit -m "Begin branch1"
J> echo "+Branch2" >>file
J> mtn --db=test.db --key=temp --branch=branch2 commit -m "Changed file,
begin branch2"
Here the working directory contains the branch2 files.
J> echo "branch1" >file2
J> mtn --db=test.db --key=temp add file2
J> mtn --db=test.db --key=temp --branch=branch1 commit -m "Add a file to
branch1"
The way I see it, this commit means everything in the working
directory will appear as a new revision in branch1. Since the working
directory is still branch2, this means everything in branch2 will be
included in this new revision.
Maybe I am daft and/or misunderstood something, but I fail to see why
this is confusing.
--
Brian May <address@hidden>