Show More
@@ -78,23 +78,42 b' def convert(ui, src, dest=None, revmapfi' | |||||
78 | IDs (in either the source or destination revision control system) |
|
78 | IDs (in either the source or destination revision control system) | |
79 | that should be used as the new parents for that node. |
|
79 | that should be used as the new parents for that node. | |
80 |
|
80 | |||
81 | Back end options: |
|
81 | Mercurial Source | |
|
82 | ----------------- | |||
|
83 | ||||
|
84 | --config convert.hg.saverev=True (boolean) | |||
|
85 | allow target to preserve source revision ID | |||
|
86 | ||||
|
87 | Subversion Source | |||
|
88 | ----------------- | |||
|
89 | ||||
|
90 | Subversion source detects classical trunk/branches/tags layouts. | |||
|
91 | By default, the supplied "svn://repo/path/" source URL is | |||
|
92 | converted as a single branch. If "svn://repo/path/trunk" exists | |||
|
93 | it replaces the default branch. If "svn://repo/path/branches" | |||
|
94 | exists, its subdirectories are listed as possible branches. If | |||
|
95 | "svn://repo/path/tags" exists, it is looked for tags referencing | |||
|
96 | converted branches. Default "trunk", "branches" and "tags" values | |||
|
97 | can be overriden with following options. Set them to paths | |||
|
98 | relative to the source URL. | |||
|
99 | ||||
|
100 | --config convert.svn.branches=branches (directory name) | |||
|
101 | specify the directory containing branches | |||
|
102 | --config convert.svn.tags=tags (directory name) | |||
|
103 | specify the directory containing tags | |||
|
104 | --config convert.svn.trunk=trunk (directory name) | |||
|
105 | specify the name of the trunk branch | |||
|
106 | ||||
|
107 | Mercurial Destination | |||
|
108 | --------------------- | |||
82 |
|
109 | |||
83 | --config convert.hg.clonebranches=False (boolean) |
|
110 | --config convert.hg.clonebranches=False (boolean) | |
84 | hg target: XXX not documented |
|
111 | dispatch source branches in separate clones. | |
85 | --config convert.hg.saverev=True (boolean) |
|
|||
86 | hg source: allow target to preserve source revision ID |
|
|||
87 | --config convert.hg.tagsbranch=default (branch name) |
|
112 | --config convert.hg.tagsbranch=default (branch name) | |
88 | hg target: XXX not documented |
|
113 | tag revisions branch name | |
89 | --config convert.hg.usebranchnames=True (boolean) |
|
114 | --config convert.hg.usebranchnames=True (boolean) | |
90 |
|
|
115 | preserve branch names | |
91 |
|
116 | |||
92 | --config convert.svn.branches=branches (directory name) |
|
|||
93 | svn source: specify the directory containing branches |
|
|||
94 | --config convert.svn.tags=tags (directory name) |
|
|||
95 | svn source: specify the directory containing tags |
|
|||
96 | --config convert.svn.trunk=trunk (directory name) |
|
|||
97 | svn source: specify the name of the trunk branch |
|
|||
98 | """ |
|
117 | """ | |
99 | return convcmd.convert(ui, src, dest, revmapfile, **opts) |
|
118 | return convcmd.convert(ui, src, dest, revmapfile, **opts) | |
100 |
|
119 |
General Comments 0
You need to be logged in to leave comments.
Login now