[PATCH 3 of 6] Save a few opens on the map file

Edouard Gomez ed.gomez at free.fr
Mon Jun 11 15:12:37 CDT 2007


On Thu, 07 Jun 2007 21:19:46 -0300, Alexis S. L. Carvalho wrote:
>>      c = convert(ui, srcc, destc, mapfile, opts)
>> -    c.convert()
>> +    try:
>> +        c.convert()
>> +    finally:
>> +        c.cleanup()
> 
> I'd prefer it if .convert() took care of cleaning up.

Ack and done in a future patch revision (to be posted later this night)


-- 
Edouard Gomez



More information about the Mercurial-devel mailing list