##// END OF EJS Templates
summary: make "outgoing" information sensitive to branch in URL (issue3829)...
FUJIWARA Katsunori -
r18994:32843795 default
parent child Browse files
Show More
@@ -5481,8 +5481,10 b' def summary(ui, repo, **opts):'
5481 5481 other = hg.peer(repo, {}, dest)
5482 5482 commoninc = None
5483 5483 ui.debug('comparing with %s\n' % util.hidepassword(dest))
5484 if revs:
5485 revs = [repo.lookup(rev) for rev in revs]
5484 5486 repo.ui.pushbuffer()
5485 outgoing = discovery.findcommonoutgoing(repo, other,
5487 outgoing = discovery.findcommonoutgoing(repo, other, onlyheads=revs,
5486 5488 commoninc=commoninc)
5487 5489 repo.ui.popbuffer()
5488 5490 o = outgoing.missing
@@ -80,8 +80,25 b' Changing original repo:'
80 80 date: Thu Jan 01 00:00:00 1970 +0000
81 81 summary: add a
82 82
83 $ hg -q outgoing '../clone'
84 2:faba9097cad4
85 3:4cd725637392
86 $ hg summary --remote --config paths.default='../clone'
87 parent: 3:4cd725637392 tip
88 add bar
89 branch: default
90 commit: (clean)
91 update: (current)
92 remote: 2 outgoing
83 93 $ hg -q outgoing '../clone#foo'
84 94 2:faba9097cad4
95 $ hg summary --remote --config paths.default='../clone#foo'
96 parent: 3:4cd725637392 tip
97 add bar
98 branch: default
99 commit: (clean)
100 update: (current)
101 remote: 1 outgoing
85 102
86 103 $ hg -q push '../clone#foo'
87 104
General Comments 0
You need to be logged in to leave comments. Login now