Mercurial > hg
changeset 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 | 8474be4412ca |
children | 9fcea3f47a3a |
files | hgext/largefiles/lfutil.py |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
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 ------------------------------------------