>>34
hg clone myrepo myrepo-tmp
cd myrepo-tmp
hg merge
hg commit
hg push
cd ..
rm -rf myrepo-tmp
cd myrepo
hg update