[PATCH 16 of 19] localrepo: use workingcontext members instead of changes array during commit
pierre-yves.david at logilab.fr
Tue Feb 12 07:59:15 CST 2013
On Sun, Feb 10, 2013 at 03:30:06PM -0800, David Schleimer wrote:
> This changes localrepo.commit from building an array of changes, and
> constructing a new workingcontext from that array to constructiong a
> workingcotext, calling it's status method to fill in it's lists of
> changes, and hten munging those lists. this is preperatory to moving
> the actual munging logic into workingcontext. I also believe this
> diff is a readability improvement, since it uses named methods rather
> than integer list indeces to access the various file lists.
Yes big readability win down there.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: Digital signature
More information about the Mercurial-devel