Mercurial > hg
comparison tests/test-convert.out @ 12198:0c67a58f0580
convert: deprecate --authors in preference for --authormap
This aligns the authormap option with the other three mapping options.
The old --authors option is still supported and 'hg help convert -v'
will still show it.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Fri, 10 Sep 2010 01:34:14 +0200 |
parents | 6045d467abd7 |
children | d346089095ac |
comparison
equal
deleted
inserted
replaced
12197:540693065d40 | 12198:0c67a58f0580 |
---|---|
49 | 49 |
50 If the file doesn't exist, it's automatically created. It's updated on | 50 If the file doesn't exist, it's automatically created. It's updated on |
51 each commit copied, so "hg convert" can be interrupted and can be run | 51 each commit copied, so "hg convert" can be interrupted and can be run |
52 repeatedly to copy new commits. | 52 repeatedly to copy new commits. |
53 | 53 |
54 The username mapping file is a simple text file that maps each source | 54 The authormap is a simple text file that maps each source commit author to |
55 commit author to a destination commit author. It is handy for source SCMs | 55 a destination commit author. It is handy for source SCMs that use unix |
56 that use unix logins to identify authors (eg: CVS). One line per author | 56 logins to identify authors (eg: CVS). One line per author mapping and the |
57 mapping and the line format is: | 57 line format is: |
58 | 58 |
59 source author = destination author | 59 source author = destination author |
60 | 60 |
61 Empty lines and lines starting with a "#" are ignored. | 61 Empty lines and lines starting with a "#" are ignored. |
62 | 62 |
234 --config convert.hg.usebranchnames=True (boolean) | 234 --config convert.hg.usebranchnames=True (boolean) |
235 preserve branch names | 235 preserve branch names |
236 | 236 |
237 options: | 237 options: |
238 | 238 |
239 -A --authors FILE username mapping filename | |
240 -s --source-type TYPE source repository type | 239 -s --source-type TYPE source repository type |
241 -d --dest-type TYPE destination repository type | 240 -d --dest-type TYPE destination repository type |
242 -r --rev REV import up to target revision REV | 241 -r --rev REV import up to target revision REV |
242 --authormap FILE remap usernames using this file | |
243 --filemap FILE remap file names using contents of file | 243 --filemap FILE remap file names using contents of file |
244 --splicemap FILE splice synthesized history into place | 244 --splicemap FILE splice synthesized history into place |
245 --branchmap FILE change branch names while converting | 245 --branchmap FILE change branch names while converting |
246 --branchsort try to sort changesets by branches | 246 --branchsort try to sort changesets by branches |
247 --datesort try to sort changesets by date | 247 --datesort try to sort changesets by date |