How to properly close a branch?
Didly Bom
didlybom at gmail.com
Wed Nov 3 07:47:43 UTC 2010
Hi,
I'd like to ask you guys what is the proper way to close a named branch.
We often create named "feature" branches which, once finished, we merge into
the default branch. Once work on a feature branch is done we want to close
the corresponding named branch. However we are not sure of what is the
properly way to do so.
My questions are:
1. Closing a branch creates a new commit. I believe that this is the last
commit _in the branch_. Should we then merge from that last, close commit or
from the previous commit, leaving an extra (closed) head on the repository?
2. Must the "close" commit be performed in the branch that it closes? Must
it be done at the tip of the corresponding branch?
3. Closing a branch closes the whole branch or just the "head" in which the
"close" commit is performed? Do you need to perform one "close branch"
operation per head in the branch you are closing?
Thanks!
Angel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20101103/23df9a14/attachment.html>
More information about the Mercurial
mailing list