Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/tests/test-convert.out Wed Mar 04 18:42:24 2009 -0600 +++ b/tests/test-convert.out Tue Mar 03 21:32:23 2009 +0000 @@ -11,6 +11,7 @@ - Monotone [mtn] - GNU Arch [gnuarch] - Bazaar [bzr] + - Perforce [p4] Accepted destination formats [identifiers]: - Mercurial [hg] @@ -154,6 +155,22 @@ --config convert.svn.startrev=0 (svn revision number) specify start Subversion revision. + Perforce Source + --------------- + + The Perforce (P4) importer can be given a p4 depot path or a client + specification as source. It will convert all files in the source to + a flat Mercurial repository, ignoring labels, branches and integrations. + Note that when a depot path is given you then usually should specify a + target directory, because otherwise the target may be named ...-hg. + + It is possible to limit the amount of source history to be converted + by specifying an initial Perforce revision. + + --config convert.p4.startrev=0 (perforce changelist number) + specify initial Perforce revision. + + Mercurial Destination ---------------------