equal
deleted
inserted
replaced
|
1 from __future__ import absolute_import |
|
2 |
1 import weakref |
3 import weakref |
2 from mercurial import branchmap |
4 |
3 from mercurial import error |
|
4 from mercurial import exchange |
|
5 from mercurial.i18n import _ |
5 from mercurial.i18n import _ |
|
6 from mercurial import ( |
|
7 branchmap, |
|
8 error, |
|
9 exchange, |
|
10 ) |
|
11 |
6 from . import topicmap |
12 from . import topicmap |
7 |
13 |
8 def _headssummary(orig, repo, remote, outgoing): |
14 def _headssummary(orig, repo, remote, outgoing): |
9 publishing = ('phases' not in remote.listkeys('namespaces') |
15 publishing = ('phases' not in remote.listkeys('namespaces') |
10 or bool(remote.listkeys('phases').get('publishing', False))) |
16 or bool(remote.listkeys('phases').get('publishing', False))) |