[PATCH] cmdutil: fix mode handling in make_file

timeless timeless at gmail.com
Sat Mar 26 14:37:36 CDT 2011


> 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?


More information about the Mercurial-devel mailing list