[PATCH 3 of 6] hg: replace repository(remoteui) with peer()

Matt Mackall mpm at selenic.com
Sun Jun 12 17:04:51 CDT 2011


On Wed, 2011-06-08 at 18:45 +0200, Peter Arrenbrecht wrote:
> # HG changeset patch
> # User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
> # Date 1307550324 -7200
> hg: replace repository(remoteui) with peer()

I've spent a while poking at this; looks like refactoring things into a
state where they can be finished before the 1.9 freeze isn't going to
happen.

My goal is to have peer.local() return a repo object if one is available
and to have no method going the other way.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list