# HG changeset patch # User Matt Harbison # Date 1349750634 14400 # Node ID a03cca2cf6c24dd80adb84d47be188656e436abf # Parent 8474be4412ca5eb4e67047a97acb7cb7f3120ff0 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). diff -r 8474be4412ca -r a03cca2cf6c2 hgext/largefiles/lfutil.py --- 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 ------------------------------------------