Commits

Augie Fackler committed f5feed5

Handle findoutgoing move to findcommonoutgoing.

Comments (0)

Files changed (1)

             # hg >= 1.6
             revs, checkout = hg.addbranchrevs(repo, repo, revs, None)
             other = hg.repository(hg.remoteui(repo, opts), dest)
-            findoutgoing = discovery.findoutgoing
+            try:
+                # hg >= 1.9
+                findoutgoing = discovery.findcommonoutgoing
+            except AttributeError:
+                findoutgoing = discovery.findoutgoing
         else:
             other = hg.repository(ui, dest)
             def findoutgoing(repo, other, force=False):