|
From: | J Decker |
Subject: | [Monotone-devel] I think this behavior might be wrong.... |
Date: | Tue, 22 May 2007 01:24:51 -0700 |
mtn --db=test.db db init
mtn --db=test.db genkey temp
mtn --db=test.db --key=temp --branch=branch1 setup .
echo "Branch1" >file
mtn --db=test.db --key=temp add file
mtn --db=test.db --key=temp commit -m "Begin branch1"
echo "+Branch2" >>file
mtn --db=test.db --key=temp --branch=branch2 commit -m "Changed file, begin branch2"
echo "branch1" >file2
mtn --db=test.db --key=temp add file2
mtn --db=test.db --key=temp --branch=branch1 commit -m "Add a file to branch1"
mkdir checkout
cd checkout
mtn --db=../test.db --key=temp --branch=branch1 co .
-------------------
Again, I was working on 'branch', made changes I didn't want to share with the public yet and commited changes on --branch='branch.test'. I then modified other code, and commited that code using --branch='branch' to commit it against the main branch instead of branch.test. But at the end, the changes added to branch.test were included in 'branch' automatically...
[Prev in Thread] | Current Thread | [Next in Thread] |