[Bug 3829] New: some outgoing-like commands are not sensitive to branch specified in URL
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Sat Feb 16 23:51:23 CST 2013
http://bz.selenic.com/show_bug.cgi?id=3829
Priority: normal
Bug ID: 3829
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: some outgoing-like commands are not sensitive to
branch specified in URL
Severity: bug
Classification: Unclassified
OS: All
Reporter: foozy at lares.dti.ne.jp
Hardware: All
Status: UNCONFIRMED
Version: 2.5.1
Component: Mercurial
Product: Mercurial
"hg summary --remote" is not sensitive to the branch specified in
destination URL, even though "hg push"/"hg outgoing" are so.
this can be reproduced by script below:
hg init src
echo a > src/a
hg -R src commit -Am '#0'
hg clone src dst
echo b > src/b
hg -R src commit -Am '#1'
hg -R src branch foo
hg -R src commit -m '#2'
echo "==== 2 outgoings should be in whole history ===="
hg -R src outgoing dst
hg -R src summary --remote --config paths.default=dst
echo "==== 1 outgoing should be in default branch ===="
hg -R src outgoing "dst#default"
hg -R src summary --remote --config paths.default="dst#default"
In above script, "hg sumary --remote" for "dst#default" will
show "remote: 2 outgoing", even though there is only one outgoing
revision on "default" branch.
"hg histedit --outgoing" is not sensitive, too.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list