...
Once your branch has been integrated upstream, it will be closed automatically. This is the common case. Occasionally though, there may be a branch that needs to be abandoned. This might happen when a branch has been pushed to the submission forest but failed to integrate upstream. Let's say you have a branch "JDK-7000001" in the jdk repo repository that needs to be closed. You could do the following:
Code Block | ||
---|---|---|
| ||
$ # From the root of your thelocal forest $ hg -R jdk update -C "JDK-7000001" $ hg -R jdk commit --close-branch -m "Abandoning changes." $ # Update repo to another branch to avoid mistakenly re-opening the closed branch. $ hg -R jdk update default |
...
Overview
Content Tools
ThemeBuilder