I have a mercurial repo with a rather tangled branch/merge structure. Certain branches contain local customizations that should not be be pushed to the main repo, but some changesets from such branches may have been merged into default
and/or some feature branches that should be pushed.
Before I push the revisions of a particular branch, I would like to know which other branches, if any, have contributed changesets that will be pulled along. Example:
feature1 ... o--o--o---o--o--o--o
\ /
config x--x--x--x
If I push the branch feature1
, it will also pull along three changesets from branch config
. I can use hg outgoing -b branchname destination_repo
to preview the changesets that will be pushed, but there are a lot of changesets and a lot of branches to push. Is there a way to get just a list of the branches that will contribute ancestor changesets, or just the affected changesets that do not belong to the named branch I specified?