[PATCH 1 of 1] Add tags-match option to convert for filtering tags

Frank A. Kingswood frank at kingswood-consulting.co.uk
Sat Apr 4 06:31:01 CDT 2009


Brett Carter wrote:
> # HG changeset patch
> # User Brett Carter <brett at rdnzl.net>
> # Date 1238544748 25200
> # Node ID a68f52fba9053fa78274e694ce1fbee60c65f3f2
> # Parent  026bcd12a0adba249c2e1e1b43ccd4a8207c2e57
> Add tags-match option to convert for filtering tags

This looks reasonable, but in practice I think the use of this will be 
cumbersome -- expect some very long commandlines.

Looking forward, I think we should consider adding one or more hooks 
that allow arbitrary user code to be run during the conversion process 
-- perhaps arbitrary so long as it is Python code.

Certainly I've done this myself and I have read of others on the mailing 
list doing the same.

Is there a convenient mechanism for calling arbitrary Python modules 
named in the configuration?

Frank


More information about the Mercurial-devel mailing list