Mercurial > hg
comparison hgext/convert/__init__.py @ 6238:aac270593ef7
convert: rename MAPFILE into REVMAP to disambiguate with filemap
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Wed, 12 Mar 2008 23:21:01 +0100 |
parents | 963000ed8cac |
children | 2f9de4aaea9e |
comparison
equal
deleted
inserted
replaced
6237:4a85a9077136 | 6238:aac270593ef7 |
---|---|
31 | 31 |
32 If no destination directory name is specified, it defaults to the | 32 If no destination directory name is specified, it defaults to the |
33 basename of the source with '-hg' appended. If the destination | 33 basename of the source with '-hg' appended. If the destination |
34 repository doesn't exist, it will be created. | 34 repository doesn't exist, it will be created. |
35 | 35 |
36 If <MAPFILE> isn't given, it will be put in a default location | 36 If <REVMAP> isn't given, it will be put in a default location |
37 (<dest>/.hg/shamap by default). The <MAPFILE> is a simple text | 37 (<dest>/.hg/shamap by default). The <REVMAP> is a simple text |
38 file that maps each source commit ID to the destination ID for | 38 file that maps each source commit ID to the destination ID for |
39 that revision, like so: | 39 that revision, like so: |
40 <source ID> <destination ID> | 40 <source ID> <destination ID> |
41 | 41 |
42 If the file doesn't exist, it's automatically created. It's updated | 42 If the file doesn't exist, it's automatically created. It's updated |
138 ('', 'filemap', '', 'remap file names using contents of file'), | 138 ('', 'filemap', '', 'remap file names using contents of file'), |
139 ('r', 'rev', '', 'import up to target revision REV'), | 139 ('r', 'rev', '', 'import up to target revision REV'), |
140 ('s', 'source-type', '', 'source repository type'), | 140 ('s', 'source-type', '', 'source repository type'), |
141 ('', 'splicemap', '', 'splice synthesized history into place'), | 141 ('', 'splicemap', '', 'splice synthesized history into place'), |
142 ('', 'datesort', None, 'try to sort changesets by date')], | 142 ('', 'datesort', None, 'try to sort changesets by date')], |
143 'hg convert [OPTION]... SOURCE [DEST [MAPFILE]]'), | 143 'hg convert [OPTION]... SOURCE [DEST [REVMAP]]'), |
144 "debugsvnlog": | 144 "debugsvnlog": |
145 (debugsvnlog, | 145 (debugsvnlog, |
146 [], | 146 [], |
147 'hg debugsvnlog'), | 147 'hg debugsvnlog'), |
148 } | 148 } |