[PATCH] convert: deprecate --authors in preference for --authormap

Martin Geisler mg at lazybytes.net
Fri Sep 10 13:10:23 CDT 2010


Dan Villiom Podlaski Christiansen <danchr at gmail.com> writes:

> On 10 Sep 2010, at 14:59, Martin Geisler wrote:
>
>> Dan Villiom Podlaski Christiansen <danchr at gmail.com> writes:
>>
>>> On 10 Sep 2010, at 02:31, Martin Geisler wrote:
>>>
>>>> @@ -236,10 +236,10 @@
>>>>
>>>> options:
>>>>
>>>> - -A --authors FILE      username mapping filename
>>>> -s --source-type TYPE  source repository type
>>>> -d --dest-type TYPE    destination repository type
>>>> -r --rev REV           import up to target revision REV
>>>> +    --authormap FILE    remap usernames using this file
>>>>    --filemap FILE      remap file names using contents of file
>>>>    --splicemap FILE    splice synthesized history into place
>>>>    --branchmap FILE    change branch names while converting
>>>
>>> It seems to me that there isn't much point to deprecating the short-
>>> form, -A. Shouldn't it be moved over to the new option?
>>
>> Then I would like us to have short options for the other mapping
>> options
>> as well for symmetry. I think -A, -F, -S, -B could be used?
>
> I wouldn't be against such a change, but I do think there's a case to
> be made that the authormap is special: it's probably the commonly used
> popular of the maps.

Yeah, I guess. I'll move that short option and see if anybody complains
about the lack of symmetry :)

-- 
Martin Geisler

Mercurial links: http://mercurial.ch/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20100910/f4ce3f5b/attachment.pgp>


More information about the Mercurial-devel mailing list