Show More
@@ -248,12 +248,14 b' def _convert(ui, src, dest=None, mapfile' | |||
|
248 | 248 | Accepted destination formats: |
|
249 | 249 | - Mercurial |
|
250 | 250 | |
|
251 | If destination isn't given, a new Mercurial repo named <src>-hg will | |
|
252 | be created. If <mapfile> isn't given, it will be put in a default | |
|
253 | location (<dest>/.hg/shamap by default) | |
|
251 | If no destination directory name is specified, it defaults to the | |
|
252 | basename of the source with '-hg' appended. If the destination | |
|
253 | repository doesn't exist, it will be created. | |
|
254 | 254 | |
|
255 | The <mapfile> is a simple text file that maps each source commit ID to | |
|
256 | the destination ID for that revision, like so: | |
|
255 | If <mapfile> isn't given, it will be put in a default location | |
|
256 | (<dest>/.hg/shamap by default). The <mapfile> is a simple text | |
|
257 | file that maps each source commit ID to the destination ID for | |
|
258 | that revision, like so: | |
|
257 | 259 | <source ID> <destination ID> |
|
258 | 260 | |
|
259 | 261 | If the file doesn't exist, it's automatically created. It's updated |
@@ -272,7 +274,7 b' def _convert(ui, src, dest=None, mapfile' | |||
|
272 | 274 | raise util.Abort("%s: can't read from this repo type" % src) |
|
273 | 275 | |
|
274 | 276 | if not dest: |
|
275 | dest = src + "-hg" | |
|
277 | dest = hg.defaultdest(src) + "-hg" | |
|
276 | 278 | ui.status("assuming destination %s\n" % dest) |
|
277 | 279 | |
|
278 | 280 | # Try to be smart and initalize things when required |
General Comments 0
You need to be logged in to leave comments.
Login now