hgext/largefiles/lfutil.py
changeset 17794 a03cca2cf6c2
parent 17661 67deea9c1c42
child 17877 92bbb21d4b13
--- a/hgext/largefiles/lfutil.py	Mon Oct 15 18:37:34 2012 -0300
+++ b/hgext/largefiles/lfutil.py	Mon Oct 08 22:43:54 2012 -0400
@@ -52,9 +52,8 @@
 
 def findoutgoing(repo, remote, force):
     from mercurial import discovery
-    common, _anyinc, _heads = discovery.findcommonincoming(repo,
-        remote.peer(), force=force)
-    return repo.changelog.findmissing(common)
+    outgoing = discovery.findcommonoutgoing(repo, remote.peer(), force=force)
+    return outgoing.missing
 
 # -- Private worker functions ------------------------------------------