[PATCH] rename variables 'list' and 'map' to avoid conflicting

Sean Perry shaleh at speakeasy.net
Mon Jul 4 21:25:16 UTC 2005


Matt Mackall wrote:
> On Sun, Jul 03, 2005 at 11:10:03PM -0700, Sean Perry wrote:
> 
>>This was only done in hg.py as a sample. It is poor style to re-use 
>>standard Python names. Let me know if this kind of patch is welcomed.
> 
> 
> Fair enough. Care to rework this with s/file_map/filemap/ and
> s/file_list/files/?
> 

No problem. I wasn't sure what to name them.



More information about the Mercurial mailing list