[PATCH] mdiff: use fallback arg of get() instead of if-clause

Christian Ebert blacktrash at gmx.net
Tue Feb 13 21:00:13 UTC 2007


* Alexis S. L. Carvalho on Tuesday, February 13, 2007 at 09:25:27 -0200:
> Thus spake Christian Ebert:
>> mdiff: use fallback arg of get() instead of if-clause
> 
> This doesn't really work since some code (e.g. commands.diff) assumes it
> can pass a value of None to mean "use the default value".

Almost thought so. Should've run the tests before posting. Thanks
very much for responding.

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>



More information about the Mercurial-devel mailing list