Hi, If you develop in both branches at the same time, changes in one branch might clash with another one. For example if you want to do webrev, it will show your local changes to both branches at the same time. If you want to push, it's the same (although you can use hg push -b BRANCH).
So I wrote myself this little script: ========================== ~/bin/switchbranch ========================== BRANCH=$(hg branch) hg phase --force --secret -r "branch('$BRANCH') and outgoing()" hg up -C "$1" hg phase --force --draft "branch('$1') and secret()" ======================================================================== used as ~/bin/switchbranch s11-sru That makes all local changes in current branch 'secret', thus not considered by mercurial as outgoing. Then it will switch to branch s11-sru and make all local changes 'draft' which is the default (and considered for outgoing). Hope this helps someone. -- Vlad _______________________________________________ userland-discuss mailing list userland-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/userland-discuss