[PATCH 2 of 3] convert extension: Add support for username mapping
Brendan Cully
brendan at kublai.com
Thu Jun 14 18:13:48 CDT 2007
Applied, thanks. There were a few bugs related to reading and writing
the file (for instance, hasattr authorfile was never going to
fail). I've fixed them myself in a follow-up patch.
On Thursday, 14 June 2007 at 23:28, Edouard Gomez wrote:
> # HG changeset patch
> # User Edouard Gomez <ed.gomez at free.fr>
> # Date 1181856355 -7200
> # Node ID 451e91ed535ea94a1771f6df1acbfe81cf2b8176
> # Parent 9855939d0c82ae079ff950b5b0031ad84e549557
> convert extension: Add support for username mapping
>
> Allows mapping usernames to new ones during conversion process.
> - Use -A option for first import
> - Then at the end of the conversion process and if the destination
> repo supports authorfile attribute, author map content is copied
> to the file pointed by the authorfile call.
> - On incremental conversions w/o any -A option specified, the
> destination authorfile, if any, gets read automatically.
>
> EG: This allows mapping unix system usernames used in CVS accounts
> to a more typical "Firstname Lastname <address at server.org>" pair.
More information about the Mercurial-devel
mailing list