[PATCH] keyword: avoid repeated context retrieval on commit

Christian Ebert blacktrash at gmx.net
Fri Nov 14 15:57:37 CST 2008


* Matt Mackall on Friday, November 14, 2008 at 13:33:41 -0600
> return self.repo.filectx(path, fileid=fnode).changectx()
> 
> But it would be more efficient to pass in a linkrev here and go directly
> to return self.repo[linkrev].

done.

Thanks for the hint -- or the kick in the a..., as the German
saying goes.

c
-- 
\black\trash movie    _C O W B O Y_  _C A N O E_  _C O M A_
Ein deutscher Western/A German Western
-->> http://www.blacktrash.org/underdogma/ccc.html
-->> http://www.blacktrash.org/underdogma/ccc-en.html


More information about the Mercurial-devel mailing list