[PATCH] cmdutil: fix mode handling in make_file

Adrian Buehlmann adrian at cadifra.com
Sat Mar 26 16:08:59 CDT 2011


On 2011-03-26 20:37, timeless wrote:
>> cmdutil: fix mode handling in make_file
> 
>> -    writable = 'w' in mode or 'a' in mode
>> +    writable = mode not in ('r', 'rb')
> 
> this seems to be a pattern, is it possible to add to test-style to
> catch the rest of the bad cases?

Maybe. But there are no other cases left. This one was the last one.


More information about the Mercurial-devel mailing list