[Bug 3830] New: "incoming" informatioin of "hg summary" is not sensitive to branch in URL

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sun Feb 17 05:06:59 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3830

          Priority: normal
            Bug ID: 3830
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: "incoming" informatioin of "hg summary" is not
                    sensitive to branch 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

"incoming" information of "hg summary --remote" is not sensitive
to the branch specified in destination URL, even though "hg
pull"/"hg incoming" 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

    hg -R src branch foo
    hg -R src commit -m '#1'

    echo "==== 1 incoming should be in whole history ===="
    hg -R dst incoming
    hg -R dst summary --remote

    echo "==== no incoming should be in default branch ===="
    hg -R dst incoming "src#default"
    hg -R dst summary --remote --config paths.default="src#default"

In above script, "hg sumary --remote" for "src#default" will
show "remote: 1 or more incoming", even though there is no
incoming revision on "default" branch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list