[PATCH 1 of 2] extensions: extract descriptions at build time

Cedric Duval cedricduval at free.fr
Mon Jun 29 03:57:00 CDT 2009


Mads Kiilerich wrote:
> But ... all source files are special in some way or another, and all of  
> them can't use a special naming convention.

This file is only special insofar as you might be tempted to open it
as its extension suggests it might be a source, then balk as soon as
its content shows up. ;)

> Wouldn't it be good enough if this file just had a "warning -
> generated file" written all over it?

That's already the case.
# this file is autogenerated by setup.py

> And perhaps "generated" or "extracted" in the name?

Perhaps. extslist.gen.py or something like that? Well, that's just a
name anyway, can always be easily changed if something better comes up.
-- 
Cédric


More information about the Mercurial-devel mailing list