[PATCH 3 of 4] addremove: don't perform m.exact/rel until needed

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Feb 5 10:27:00 CST 2013


On Feb 4, 2013, at 9:20 PM, Durham Goode wrote:

> # HG changeset patch
> # User Durham Goode <durham at fb.com>
> # Date 1360015809 28800
> # Node ID 1c47ffd98e0ee0ddccfe339e2a28cf1841be52a4
> # Parent  f8d0ae2b9805840a73f4c3e44d64043cf47691de
> addremove: don't perform m.exact/rel until needed
> 
> Moves the m.exact and m.rel calls within the conditionals they are used in.
> On a large repo this brings addremove from 7.1 seconds down to 6.3 (13%).

First three LGTM

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list