Mercurial > hg
comparison tests/test-convert.t @ 25748:baea47cafe75
convert: add support for specifying multiple revs
Previously convert could only take one '--rev'. This change allows the user to
specify multiple --rev entries. For instance, this could allow converting
multiple branches (but not all branches) at once from git.
In this first patch, we disable support for this for all sources. Future
patches will enable it for select sources (like git).
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 08 Jul 2015 10:27:43 -0700 |
parents | 86fe3c404c1e |
children | c9093d4d1ff6 |
comparison
equal
deleted
inserted
replaced
25747:5a15236f142a | 25748:baea47cafe75 |
---|---|
302 | 302 |
303 convert.skiptags | 303 convert.skiptags |
304 does not convert tags from the source repo to the target | 304 does not convert tags from the source repo to the target |
305 repo. The default is False. | 305 repo. The default is False. |
306 | 306 |
307 options: | 307 options ([+] can be repeated): |
308 | 308 |
309 -s --source-type TYPE source repository type | 309 -s --source-type TYPE source repository type |
310 -d --dest-type TYPE destination repository type | 310 -d --dest-type TYPE destination repository type |
311 -r --rev REV import up to source revision REV | 311 -r --rev REV [+] import up to source revision REV |
312 -A --authormap FILE remap usernames using this file | 312 -A --authormap FILE remap usernames using this file |
313 --filemap FILE remap file names using contents of file | 313 --filemap FILE remap file names using contents of file |
314 --full apply filemap changes by converting all files again | 314 --full apply filemap changes by converting all files again |
315 --splicemap FILE splice synthesized history into place | 315 --splicemap FILE splice synthesized history into place |
316 --branchmap FILE change branch names while converting | 316 --branchmap FILE change branch names while converting |