mercurial/discovery.py
changeset 17191 5884812686f7
parent 17056 30853f4bde2f
child 17204 4feb55e6931f
--- a/mercurial/discovery.py	Fri Jul 06 14:12:42 2012 -0500
+++ b/mercurial/discovery.py	Fri Jul 13 21:46:53 2012 +0200
@@ -169,7 +169,7 @@
 
         # 2. Check for new branches on the remote.
         if remote.local():
-            remotemap = phases.visiblebranchmap(remote)
+            remotemap = phases.visiblebranchmap(remote.local())
         else:
             remotemap = remote.branchmap()
         newbranches = branches - set(remotemap)