summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/hg.py b/hg.py
index 6a115bc..7eaac7c 100644
--- a/hg.py
+++ b/hg.py
@@ -107,7 +107,7 @@ def incoming(wdrepo, masterrepo):
revs, checkout = hg.addbranchrevs(wdrepo, masterrepo, ('', []), None)
common, incoming, rheads = discovery.findcommonincoming(
wdrepo, masterrepo, heads=revs)
- if masterrepo.local():
+ if not masterrepo.local():
from mercurial import bundlerepo
if revs is None and masterrepo.capable('changegroupsubset'):
revs = rheads