# HG changeset patch # User Martin Geisler # Date 2010-09-09 22:30:36 # Node ID 6a94459b7afabb0755aa12b808d8d0d7e47831d2 # Parent 025ca07351ea32a61dfb6253f2b668f303a33c23 convert: better quoting in help text diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -40,7 +40,7 @@ def convert(ui, src, dest=None, revmapfi (given in a format understood by the source). If no destination directory name is specified, it defaults to the - basename of the source with '-hg' appended. If the destination + basename of the source with ``-hg`` appended. If the destination repository doesn't exist, it will be created. By default, all sources except Mercurial will use --branchsort. @@ -89,18 +89,18 @@ def convert(ui, src, dest=None, revmapfi rename path/to/source path/to/destination - Comment lines start with '#'. A specificed path matches if it + Comment lines start with ``#``. A specificed path matches if it equals the full relative name of a file or one of its parent - directories. The 'include' or 'exclude' directive with the longest - matching path applies, so line order does not matter. + directories. The ``include`` or ``exclude`` directive with the + longest matching path applies, so line order does not matter. - The 'include' directive causes a file, or all files under a + The ``include`` directive causes a file, or all files under a directory, to be included in the destination repository, and the exclusion of all other files and directories not explicitly - included. The 'exclude' directive causes files or directories to - be omitted. The 'rename' directive renames a file or directory if + included. The ``exclude`` directive causes files or directories to + be omitted. The ``rename`` directive renames a file or directory if is converted. To rename from a subdirectory into the root of the - repository, use '.' as the path to rename to. + repository, use ``.`` as the path to rename to. The splicemap is a file that allows insertion of synthetic history, letting you specify the parents of a revision. This is diff --git a/tests/test-convert.out b/tests/test-convert.out --- a/tests/test-convert.out +++ b/tests/test-convert.out @@ -24,7 +24,7 @@ convert a foreign SCM repository to a Me understood by the source). If no destination directory name is specified, it defaults to the basename - of the source with '-hg' appended. If the destination repository doesn't + of the source with "-hg" appended. If the destination repository doesn't exist, it will be created. By default, all sources except Mercurial will use --branchsort. Mercurial @@ -69,17 +69,17 @@ convert a foreign SCM repository to a Me rename path/to/source path/to/destination - Comment lines start with '#'. A specificed path matches if it equals the + Comment lines start with "#". A specificed path matches if it equals the full relative name of a file or one of its parent directories. The - 'include' or 'exclude' directive with the longest matching path applies, + "include" or "exclude" directive with the longest matching path applies, so line order does not matter. - The 'include' directive causes a file, or all files under a directory, to + The "include" directive causes a file, or all files under a directory, to be included in the destination repository, and the exclusion of all other - files and directories not explicitly included. The 'exclude' directive - causes files or directories to be omitted. The 'rename' directive renames + files and directories not explicitly included. The "exclude" directive + causes files or directories to be omitted. The "rename" directive renames a file or directory if is converted. To rename from a subdirectory into - the root of the repository, use '.' as the path to rename to. + the root of the repository, use "." as the path to rename to. The splicemap is a file that allows insertion of synthetic history, letting you specify the parents of a revision. This is useful if you want