hgext/convert/__init__.py
changeset 7823 11efa41037e2
parent 7815 bcd364b247ba
child 7873 4a4c7f6a5912
equal deleted inserted replaced
7822:1079e666e938 7823:11efa41037e2
    23     - git [git]
    23     - git [git]
    24     - Subversion [svn]
    24     - Subversion [svn]
    25     - Monotone [mtn]
    25     - Monotone [mtn]
    26     - GNU Arch [gnuarch]
    26     - GNU Arch [gnuarch]
    27     - Bazaar [bzr]
    27     - Bazaar [bzr]
       
    28     - Perforce [p4]
    28 
    29 
    29     Accepted destination formats [identifiers]:
    30     Accepted destination formats [identifiers]:
    30     - Mercurial [hg]
    31     - Mercurial [hg]
    31     - Subversion [svn] (history on branches is not preserved)
    32     - Subversion [svn] (history on branches is not preserved)
    32 
    33 
   165     instead of being integrally converted. Only single branch
   166     instead of being integrally converted. Only single branch
   166     conversions are supported.
   167     conversions are supported.
   167 
   168 
   168     --config convert.svn.startrev=0           (svn revision number)
   169     --config convert.svn.startrev=0           (svn revision number)
   169         specify start Subversion revision.
   170         specify start Subversion revision.
       
   171 
       
   172     Perforce Source
       
   173     ---------------
       
   174 
       
   175     The Perforce (P4) importer can be given a p4 depot path or a client
       
   176     specification as source. It will convert all files in the source to
       
   177     a flat Mercurial repository, ignoring labels, branches and integrations.
       
   178     Note that when a depot path is given you then usually should specify a
       
   179     target directory, because otherwise the target may be named ...-hg.
       
   180 
       
   181     It is possible to limit the amount of source history to be converted
       
   182     by specifying an initial Perforce revision.
       
   183 
       
   184     --config convert.p4.startrev=0           (perforce changelist number)
       
   185         specify initial Perforce revision.
       
   186 
   170 
   187 
   171     Mercurial Destination
   188     Mercurial Destination
   172     ---------------------
   189     ---------------------
   173 
   190 
   174     --config convert.hg.clonebranches=False   (boolean)
   191     --config convert.hg.clonebranches=False   (boolean)