mercurial/hg.py
changeset 516 873228c2f6cf
parent 515 03f27b1381f9
child 522 2f1de824798a
--- a/mercurial/hg.py	Wed Jun 29 10:42:35 2005 -0800
+++ b/mercurial/hg.py	Wed Jun 29 10:44:16 2005 -0800
@@ -820,7 +820,7 @@
 
         return nl
 
-    def getchangegroup(self, remote):
+    def findincoming(self, remote):
         m = self.changelog.nodemap
         search = []
         fetch = []
@@ -830,7 +830,7 @@
         # if we have an empty repo, fetch everything
         if self.changelog.tip() == nullid:
             self.ui.status("requesting all changes\n")
-            return remote.changegroup([nullid])
+            return [nullid]
 
         # otherwise, assume we're closer to the tip than the root
         self.ui.status("searching for changes\n")
@@ -925,8 +925,8 @@
 
         self.ui.debug("%d total queries\n" % reqcnt)
 
-        return remote.changegroup(fetch)
-    
+        return fetch
+
     def changegroup(self, basenodes):
         nodes = self.newer(basenodes)