Show More
@@ -14,18 +14,18 b' from mercurial import commands' | |||||
14 | def convert(ui, src, dest=None, revmapfile=None, **opts): |
|
14 | def convert(ui, src, dest=None, revmapfile=None, **opts): | |
15 | """Convert a foreign SCM repository to a Mercurial one. |
|
15 | """Convert a foreign SCM repository to a Mercurial one. | |
16 |
|
16 | |||
17 | Accepted source formats: |
|
17 | Accepted source formats [identifiers]: | |
18 | - Mercurial |
|
18 | - Mercurial [hg] | |
19 | - CVS |
|
19 | - CVS [cvs] | |
20 | - Darcs |
|
20 | - Darcs [darcs] | |
21 | - git |
|
21 | - git [git] | |
22 | - Subversion |
|
22 | - Subversion [svn] | |
23 | - Monotone |
|
23 | - Monotone [mtn] | |
24 | - GNU Arch |
|
24 | - GNU Arch [gnuarch] | |
25 |
|
25 | |||
26 | Accepted destination formats: |
|
26 | Accepted destination formats [identifiers]: | |
27 | - Mercurial |
|
27 | - Mercurial [hg] | |
28 | - Subversion (history on branches is not preserved) |
|
28 | - Subversion [svn] (history on branches is not preserved) | |
29 |
|
29 | |||
30 | If no revision is given, all revisions will be converted. Otherwise, |
|
30 | If no revision is given, all revisions will be converted. Otherwise, | |
31 | convert will only import up to the named revision (given in a format |
|
31 | convert will only import up to the named revision (given in a format |
@@ -53,7 +53,7 b' def convertsource(ui, path, type, rev):' | |||||
53 | if not ui.quiet: |
|
53 | if not ui.quiet: | |
54 | for inst in exceptions: |
|
54 | for inst in exceptions: | |
55 | ui.write("%s\n" % inst) |
|
55 | ui.write("%s\n" % inst) | |
56 |
raise util.Abort(_('%s: |
|
56 | raise util.Abort(_('%s: missing or unsupported repository') % path) | |
57 |
|
57 | |||
58 | def convertsink(ui, path, type): |
|
58 | def convertsink(ui, path, type): | |
59 | for name, sink in sink_converters: |
|
59 | for name, sink in sink_converters: |
@@ -2,18 +2,18 b' hg convert [OPTION]... SOURCE [DEST [REV' | |||||
2 |
|
2 | |||
3 | Convert a foreign SCM repository to a Mercurial one. |
|
3 | Convert a foreign SCM repository to a Mercurial one. | |
4 |
|
4 | |||
5 | Accepted source formats: |
|
5 | Accepted source formats [identifiers]: | |
6 | - Mercurial |
|
6 | - Mercurial [hg] | |
7 | - CVS |
|
7 | - CVS [cvs] | |
8 | - Darcs |
|
8 | - Darcs [darcs] | |
9 | - git |
|
9 | - git [git] | |
10 | - Subversion |
|
10 | - Subversion [svn] | |
11 | - Monotone |
|
11 | - Monotone [mtn] | |
12 | - GNU Arch |
|
12 | - GNU Arch [gnuarch] | |
13 |
|
13 | |||
14 | Accepted destination formats: |
|
14 | Accepted destination formats [identifiers]: | |
15 | - Mercurial |
|
15 | - Mercurial [hg] | |
16 | - Subversion (history on branches is not preserved) |
|
16 | - Subversion [svn] (history on branches is not preserved) | |
17 |
|
17 | |||
18 | If no revision is given, all revisions will be converted. Otherwise, |
|
18 | If no revision is given, all revisions will be converted. Otherwise, | |
19 | convert will only import up to the named revision (given in a format |
|
19 | convert will only import up to the named revision (given in a format |
General Comments 0
You need to be logged in to leave comments.
Login now