14:22:35 | ~/Projects/pip $ hg push --mq pushing to ssh://bb/RonnyPfannschmidt/pip-globalopts searching for changes searching ... abort: repository is unrelated 14:22:53 | ~/Projects/pip $ cat .hg/patches/.hg/hgrc [paths] default = ssh://bb/RonnyPfannschmidt/pip-patches/.hg/patches ######## note: bb is my .ssh/config alias to bitbucket with propper compress/username settings i expected --mq to use the paths of the mq, however it used the paths of the containing repo
Do you have default-push configured in the main repo? What is the output of hg showconfig|grep ^paths
$ hg showconfig|grep ^paths paths.default=ssh://bb/ianb/pip paths.default-push=ssh://bb/RonnyPfannschmidt/pip-globalopts so yup
Fixed by http://hg.intevation.org/mercurial/crew/rev/77f1f206e135 Mads Kiilerich <mads@kiilerich.com> mq: don't inherit default and default-push paths with --mq (issue2333)
--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:11 EDT --- This bug was previously known as _bug_ 2333 at http://mercurial.selenic.com/bts/issue2333