diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2011-10-01 20:49:36 +0000 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-09-27 13:27:51 +0000 |
commit | 921ced43c48c1d170452a7b251b94cc96ec8dd44 (patch) | |
tree | 3c4a89176ea67fe4c7bf7b375488361a823c95fa /hgext/convert/__init__.py | |
parent | 9039c805b0a7e36220101323f82735f08a104b37 (diff) | |
download | mercurial-tarball-master.tar.gz |
Imported from /srv/lorry/lorry-area/mercurial-tarball/mercurial-1.9.3.tar.gz.HEADmercurial-1.9.3master
Diffstat (limited to 'hgext/convert/__init__.py')
-rw-r--r-- | hgext/convert/__init__.py | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py index e53c82c..abaa68a 100644 --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -13,8 +13,6 @@ import subversion from mercurial import commands, templatekw from mercurial.i18n import _ -testedwith = 'internal' - # Commands definition was moved elsewhere to ease demandload job. def convert(ui, src, dest=None, revmapfile=None, **opts): @@ -138,7 +136,7 @@ def convert(ui, src, dest=None, revmapfile=None, **opts): repository from "default" to a named branch. Mercurial Source - ################ + '''''''''''''''' The Mercurial source recognizes the following configuration options, which you can set on the command line with ``--config``: @@ -148,14 +146,14 @@ def convert(ui, src, dest=None, revmapfile=None, **opts): converting from and to Mercurial. Default is False. :convert.hg.saverev: store original revision ID in changeset - (forces target IDs to change). It takes a boolean argument and - defaults to False. + (forces target IDs to change). It takes and boolean argument + and defaults to False. :convert.hg.startrev: convert start revision and its descendants. It takes a hg revision identifier and defaults to 0. CVS Source - ########## + '''''''''' CVS source will use a sandbox (i.e. a checked-out copy) from CVS to indicate the starting point of what will be converted. Direct @@ -197,7 +195,7 @@ def convert(ui, src, dest=None, revmapfile=None, **opts): delete them. :hook.cvschangesets: Specify a Python function to be called after - the changesets are calculated from the CVS log. The + the changesets are calculated from the the CVS log. The function is passed a list with the changeset entries, and can modify the changesets in-place, or add or delete them. @@ -207,7 +205,7 @@ def convert(ui, src, dest=None, revmapfile=None, **opts): the command help for more details. Subversion Source - ################# + ''''''''''''''''' Subversion source detects classical trunk/branches/tags layouts. By default, the supplied ``svn://repo/path/`` source URL is @@ -239,7 +237,7 @@ def convert(ui, src, dest=None, revmapfile=None, **opts): The default is 0. 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 @@ -255,7 +253,7 @@ def convert(ui, src, dest=None, revmapfile=None, **opts): Perforce changelist number). Mercurial Destination - ##################### + ''''''''''''''''''''' The following options are supported: @@ -330,8 +328,7 @@ cmdtable = { ('', 'root', '', _('specify cvsroot')), # Options specific to builtin cvsps ('', 'parents', '', _('show parent changesets')), - ('', 'ancestors', '', - _('show current changeset in ancestor branches')), + ('', 'ancestors', '', _('show current changeset in ancestor branches')), # Options that are ignored for compatibility with cvsps-2.1 ('A', 'cvs-direct', None, _('ignored for compatibility')), ], |