[PATCH] convert: Handle comments starting with '#' in authormap files

Alexander Solovyov piranha at piranha.org.ua
Sun Mar 15 09:39:52 CDT 2009


On Sun, Mar 15, 2009 at 3:43 PM, timeless <timeless at gmail.com> wrote:
> On Sun, Mar 15, 2009 at 2:51 PM, Alexander Solovyov
> <piranha at piranha.org.ua> wrote:
>> Actually it's better to do this:
>>
>> line = line.split('#', 1)[0]
>
> Can i have foo = "timeless #2" <timeless at localhost>
>
> ?

Nice catch. :-)

-- 
Alexander


More information about the Mercurial-devel mailing list