tests/test-convert.t
changeset 12787 e8a8993b625e
parent 12510 efcbff270317
child 12922 58f0c60b7f40
equal deleted inserted replaced
12786:9aae04f4fcf6 12787:e8a8993b625e
   119       destination repository. No whitespace is allowed in the branch names. This
   119       destination repository. No whitespace is allowed in the branch names. This
   120       can be used to (for instance) move code in one repository from "default"
   120       can be used to (for instance) move code in one repository from "default"
   121       to a named branch.
   121       to a named branch.
   122   
   122   
   123       Mercurial Source
   123       Mercurial Source
   124       ----------------
   124       ''''''''''''''''
   125   
   125   
   126       --config convert.hg.ignoreerrors=False    (boolean)
   126       --config convert.hg.ignoreerrors=False    (boolean)
   127           ignore integrity errors when reading. Use it to fix Mercurial
   127           ignore integrity errors when reading. Use it to fix Mercurial
   128           repositories with missing revlogs, by converting from and to
   128           repositories with missing revlogs, by converting from and to
   129           Mercurial.
   129           Mercurial.
   133   
   133   
   134       --config convert.hg.startrev=0            (hg revision identifier)
   134       --config convert.hg.startrev=0            (hg revision identifier)
   135           convert start revision and its descendants
   135           convert start revision and its descendants
   136   
   136   
   137       CVS Source
   137       CVS Source
   138       ----------
   138       ''''''''''
   139   
   139   
   140       CVS source will use a sandbox (i.e. a checked-out copy) from CVS to
   140       CVS source will use a sandbox (i.e. a checked-out copy) from CVS to
   141       indicate the starting point of what will be converted. Direct access to
   141       indicate the starting point of what will be converted. Direct access to
   142       the repository files is not needed, unless of course the repository is
   142       the repository files is not needed, unless of course the repository is
   143       :local:. The conversion uses the top level directory in the sandbox to
   143       :local:. The conversion uses the top level directory in the sandbox to
   185       merging code to be run without doing a conversion. Its parameters and
   185       merging code to be run without doing a conversion. Its parameters and
   186       output are similar to that of cvsps 2.1. Please see the command help for
   186       output are similar to that of cvsps 2.1. Please see the command help for
   187       more details.
   187       more details.
   188   
   188   
   189       Subversion Source
   189       Subversion Source
   190       -----------------
   190       '''''''''''''''''
   191   
   191   
   192       Subversion source detects classical trunk/branches/tags layouts. By
   192       Subversion source detects classical trunk/branches/tags layouts. By
   193       default, the supplied "svn://repo/path/" source URL is converted as a
   193       default, the supplied "svn://repo/path/" source URL is converted as a
   194       single branch. If "svn://repo/path/trunk" exists it replaces the default
   194       single branch. If "svn://repo/path/trunk" exists it replaces the default
   195       branch. If "svn://repo/path/branches" exists, its subdirectories are
   195       branch. If "svn://repo/path/branches" exists, its subdirectories are
   214   
   214   
   215       --config convert.svn.startrev=0           (svn revision number)
   215       --config convert.svn.startrev=0           (svn revision number)
   216           specify start Subversion revision.
   216           specify start Subversion revision.
   217   
   217   
   218       Perforce Source
   218       Perforce Source
   219       ---------------
   219       '''''''''''''''
   220   
   220   
   221       The Perforce (P4) importer can be given a p4 depot path or a client
   221       The Perforce (P4) importer can be given a p4 depot path or a client
   222       specification as source. It will convert all files in the source to a flat
   222       specification as source. It will convert all files in the source to a flat
   223       Mercurial repository, ignoring labels, branches and integrations. Note
   223       Mercurial repository, ignoring labels, branches and integrations. Note
   224       that when a depot path is given you then usually should specify a target
   224       that when a depot path is given you then usually should specify a target
   229   
   229   
   230       --config convert.p4.startrev=0            (perforce changelist number)
   230       --config convert.p4.startrev=0            (perforce changelist number)
   231           specify initial Perforce revision.
   231           specify initial Perforce revision.
   232   
   232   
   233       Mercurial Destination
   233       Mercurial Destination
   234       ---------------------
   234       '''''''''''''''''''''
   235   
   235   
   236       --config convert.hg.clonebranches=False   (boolean)
   236       --config convert.hg.clonebranches=False   (boolean)
   237           dispatch source branches in separate clones.
   237           dispatch source branches in separate clones.
   238   
   238   
   239       --config convert.hg.tagsbranch=default    (branch name)
   239       --config convert.hg.tagsbranch=default    (branch name)