[PATCH] largefiles: update lfutil.findoutgoing() discovery method

Matt Mackall mpm at selenic.com
Tue Oct 16 14:55:02 CDT 2012


On Tue, 2012-10-09 at 03:38 +0000, Matt Harbison wrote:
> Matt Harbison <matt_harbison <at> yahoo.com> writes:
> 
> > 
> > # HG changeset patch
> > # User Matt Harbison <matt_harbison <at> yahoo.com>
> > # Date 1349750634 14400
> > # Node ID 7a37921f32ff96e82ddc1605bc6506fcf2165194
> > # Parent  fa714f3ed2989aff64c267c9935251d9fc4f31ee
> > largefiles: update lfutil.findoutgoing() discovery method
> 
> > +    outgoing = discovery.findcommonoutgoing(repo, remote, force=force)
> > +    return outgoing.missing
> 
> Oops.  I misread what 'summary --remote' does- that first line should be
> 'remote.peer()' instead of 'remote'.  But it seems like it works either way,
> even on Linux which will run the http tests in test-largefiles.t.  Can anyone
> explain why?

Probably because the move to a full peer/repo separation is only
mostly-complete.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list