[Bug 4171] New: Add a --authormapsuffix option to append set text to all author names during a conversion

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Thu Feb 13 18:15:51 CST 2014


http://bz.selenic.com/show_bug.cgi?id=4171

          Priority: normal
            Bug ID: 4171
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Add a --authormapsuffix option to append set text to
                    all author names during a conversion
          Severity: feature
    Classification: Unclassified
                OS: Other
          Reporter: lstewart at room52.net
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: convert
           Product: Mercurial

The --authormap option to convert does not provide a mechanism to template how
author names should be mapped from the source to destination repository. In the
absence of a more complete templating like feature, I propose the addition of a
new option which allows some set text to be appended to every author name
during the conversion. This is particularly useful for changing project-local
usernames into globally distinguishable author identifiers e.g. by mapping
"lstewart" -> "lstewart at FreeBSD.org", without first having to obtain a list of
all authors in the source repository and create an authormap from that list.

Proposed behaviour if --authormapsuffix is used concurrently with --authormap
is to append the suffix to post-authormap-translated names as well as
non-authormap-translated names.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list