Bug 2333 - push --mq ignores default path in .hg/patches/.hg/hgrc
Summary: push --mq ignores default path in .hg/patches/.hg/hgrc
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: normal bug
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-17 06:29 UTC by RonnyPfannschmidt
Modified: 2012-05-13 05:07 UTC (History)
3 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RonnyPfannschmidt 2010-08-17 06:29 UTC
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
Comment 1 kiilerix 2010-08-17 06:58 UTC
Do you have default-push configured in the main repo?

What is the output of
hg showconfig|grep ^paths
Comment 2 RonnyPfannschmidt 2010-08-17 07:01 UTC
$ hg showconfig|grep ^paths
paths.default=ssh://bb/ianb/pip
paths.default-push=ssh://bb/RonnyPfannschmidt/pip-globalopts

so yup
Comment 3 HG Bot 2010-08-19 14:00 UTC
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)
Comment 4 Bugzilla 2012-05-12 09:11 UTC

--- 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