Mercurial > hg
diff hgext/convert/__init__.py @ 25750:c9093d4d1ff6
convert: add config for recording the source name
This creates the convert.hg.sourcename config option which will embed a user
defined name into each commit created by the convert. This is useful when using
the convert extension to merge several repositories together and we want to
record where each commit came from.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 08 Jul 2015 10:31:09 -0700 |
parents | baea47cafe75 |
children | d9133e89d39d |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Wed Jul 08 10:29:11 2015 -0700 +++ b/hgext/convert/__init__.py Wed Jul 08 10:31:09 2015 -0700 @@ -356,6 +356,9 @@ :convert.hg.usebranchnames: preserve branch names. The default is True. + :convert.hg.sourcename: records the given string as a 'convert_source' extra + value on each commit made in the target repository. The default is None. + All Destinations ################