diff hgext/largefiles/lfutil.py @ 17794:a03cca2cf6c2

largefiles: update lfutil.findoutgoing() discovery method It looks like this method missed the updates in 30273f0c776b (which changed the preferred discovery method from findcommonincoming() to findcommonoutgoing()), and cd956049fc14 (which rolls up the outgoing lists into a single object).
author Matt Harbison <matt_harbison@yahoo.com>
date Mon, 08 Oct 2012 22:43:54 -0400
parents 67deea9c1c42
children 92bbb21d4b13
line wrap: on
line diff
--- 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 ------------------------------------------