[fossil-users] "commit --private" for a review before real do, then how to proceed a real commit?

12 views
Skip to first unread message

H.C. Chen

unread,
Mar 25, 2012, 10:30:25 PM3/25/12
to fossil...@lists.fossil-scm.org
> you are content with its state. Then you simply merge your
> private branch back onto your "trunk"

When being content with the private thread's state, I am standing on the private thread. So,

fossil merge <trunk-commit-id>
fossil ci -m "Still private <==== Problem!!"

is still standing on the private thread. I cann't find any merge command option to merge it *back onto* the trunk. Please show me exactly how to do it. Thanks !



Bob Chapman

unread,
Mar 25, 2012, 11:09:32 PM3/25/12
to Fossil SCM user's discussion
> When being content with the private thread's state, I am standing on the
> private thread. So,
>
> fossil merge <trunk-commit-id>
> fossil ci -m "Still private <==== Problem!!"
>
> is still standing on the private thread.

From <http://fossil-scm.org/fossil/help/merge>

Usage: fossil merge ?OPTIONS? VERSION

The argument VERSION is a version that should be merged
into the current checkout. <===

As I read it, this means that you should be "standing on the trunk" and
merge the private branch VERSION back into the trunk -- but then I've
never actually done a merge yet so you are on your own. ;)

HTH

--
_______________________________________________
fossil-users mailing list
fossil...@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

chi

unread,
Mar 26, 2012, 12:37:08 AM3/26/12
to Fossil SCM user's discussion

H.C. Chen schrieb:

Ah ... in Fossil you are merging *from* somewhere *into* the current
checkout all the time! If you have a look onto

fossil merge --help

you will read:

Usage: fossil merge ?OPTIONS? VERSION

The argument VERSION is a version that should be merged into the

current checkout. (...)

So that meant, as soon as you are content with you private branch, you
have to switch to the trunk (or whatever your target is, via

fossil update trunk

and then merge your private branch into the trunk via

fossil merge <private-branch-commit-id>

. Check the changes, resolve any conflict and if you content with your
result, commit it back onto trunk ...

That's all about ...


Happy fossil'ing,
chi :-)

Reply all
Reply to author
Forward
0 new messages