[Python-Dev] Mercurial migration: help needed

Mark Hammond mhammond at skippinet.com.au
Sat Aug 22 02:58:40 CEST 2009


On 22/08/2009 12:10 AM, Dj Gilcrease wrote:
> On Fri, Aug 21, 2009 at 1:16 AM, Mark Hammond<skippy.hammond at gmail.com>  wrote:
>> Maybe you can enumerate what you think needs to change in mercurial, then
>> once we have a plan in place it will be clearer who can do what.
>
> The encode/decode hooks need to be passed the filename they are
> working on so you can have an ignore list, this is why I consider my
> method a hack since I am using a precommit hook to do conversion since
> I am able to find out which file I am working on and make sure it is
> not in an ignore list. There also needs to be a way to have required
> and version controlled extensions.

I think this is the exact issue my 'none' patch addresses.  Your filters 
can say:

[encode]
*.dsp=none:
**=cleverencode:

The end result should be that anything with 'none:' forms what you call 
an ignore list.

Would that not meet your requirements?

Cheers,

Mark


More information about the Python-Dev mailing list