[PATCH 01 of 16] exchangeutil: extract push function from localrepo
Kevin Bullock
kbullock+mercurial at ringworld.org
Wed Apr 17 11:33:26 CDT 2013
On Apr 17, 2013, at 10:58 AM, pierre-yves.david at logilab.fr wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at logilab.fr>
> # Date 1366194182 -7200
> # Wed Apr 17 12:23:02 2013 +0200
> # Node ID 8c78d95ab62f3edc06871132a1011109d3b2c3ce
> # Parent ab04e87a5f3bcee588b72d615e1aeb42f10d3b99
> exchangeutil: extract push function from localrepo
>
> The `localrepo` class if far too big. Push and pull logic will be extracted and
> reworked to better fit with the fact we exchange more than bundle now.
>
> The localrepo.push method is kept for now to limit impact on user code. But it
> will be ultimately removed, now that the public API is hold by peer.
+1000 to the effort.
Not every new module needs to be called 'fooutil' though. 'exchange.py' would be sufficient.
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
More information about the Mercurial-devel
mailing list