comparison tests/test-convert.out @ 7823:11efa41037e2 1.2

convert: Perforce source for conversion to Mercurial
author Frank Kingswood <frank@kingswood-consulting.co.uk>
date Tue, 03 Mar 2009 21:32:23 +0000
parents bcd364b247ba
children d596b1f2935a
comparison
equal deleted inserted replaced
7822:1079e666e938 7823:11efa41037e2
9 - git [git] 9 - git [git]
10 - Subversion [svn] 10 - Subversion [svn]
11 - Monotone [mtn] 11 - Monotone [mtn]
12 - GNU Arch [gnuarch] 12 - GNU Arch [gnuarch]
13 - Bazaar [bzr] 13 - Bazaar [bzr]
14 - Perforce [p4]
14 15
15 Accepted destination formats [identifiers]: 16 Accepted destination formats [identifiers]:
16 - Mercurial [hg] 17 - Mercurial [hg]
17 - Subversion [svn] (history on branches is not preserved) 18 - Subversion [svn] (history on branches is not preserved)
18 19
151 instead of being integrally converted. Only single branch 152 instead of being integrally converted. Only single branch
152 conversions are supported. 153 conversions are supported.
153 154
154 --config convert.svn.startrev=0 (svn revision number) 155 --config convert.svn.startrev=0 (svn revision number)
155 specify start Subversion revision. 156 specify start Subversion revision.
157
158 Perforce Source
159 ---------------
160
161 The Perforce (P4) importer can be given a p4 depot path or a client
162 specification as source. It will convert all files in the source to
163 a flat Mercurial repository, ignoring labels, branches and integrations.
164 Note that when a depot path is given you then usually should specify a
165 target directory, because otherwise the target may be named ...-hg.
166
167 It is possible to limit the amount of source history to be converted
168 by specifying an initial Perforce revision.
169
170 --config convert.p4.startrev=0 (perforce changelist number)
171 specify initial Perforce revision.
172
156 173
157 Mercurial Destination 174 Mercurial Destination
158 --------------------- 175 ---------------------
159 176
160 --config convert.hg.clonebranches=False (boolean) 177 --config convert.hg.clonebranches=False (boolean)