[Python-Dev] Mercurial migration: help needed

Dirkjan Ochtman dirkjan at ochtman.nl
Fri Aug 21 09:48:03 CEST 2009

On Fri, Aug 21, 2009 at 09:16, Mark Hammond<skippy.hammond at gmail.com> wrote:
> I'm resurrecting my patch to support a filter called 'none' (which is
> turning out to be harder than I thought).  Off the top of my head, it would
> the following would give us a pretty solid solution:
> * Finish my patch for 'none' as a filter, so '**=cleverencode' can be
> reasonably used (currently you can't specify specific files *not* have
> cleverencode, making it unsuitable in practice without the concept of
> 'none')
> * Add support for versioned 'filter rules' - eg, /.hgfilters or similar.
> * This might be pushing my luck, but: add 'defensive' support to core hg for
> this feature - if /.hgfilters exists, hg should refuse to operate on the
> working tree unless the win32text extension is enabled.

Sounds great to me. The latter might indeed be hard to get into the
core, but seems like a good idea to try.



More information about the Python-Dev mailing list