changeset 5488:247af577fe29

fix typo in convert help text, update test
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 05 Nov 2007 20:15:33 +0100
parents 7a64931e2d76
children 3ab405e070bb
files hgext/convert/__init__.py tests/test-convert.out
diffstat 2 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/convert/__init__.py	Mon Nov 05 20:05:44 2007 +0300
+++ b/hgext/convert/__init__.py	Mon Nov 05 20:15:33 2007 +0100
@@ -344,7 +344,7 @@
     
     The 'include' directive causes a file, or all files under a
     directory, to be included in the destination repository, and the
-    exclussion of all other files and dirs not explicitely included.
+    exclusion of all other files and dirs not explicitely included.
     The 'exclude' directive causes files or directories to be omitted.
     The 'rename' directive renames a file or directory.  To rename from a
     subdirectory into the root of the repository, use '.' as the path to
--- a/tests/test-convert.out	Mon Nov 05 20:05:44 2007 +0300
+++ b/tests/test-convert.out	Mon Nov 05 20:15:33 2007 +0100
@@ -3,6 +3,7 @@
 Convert a foreign SCM repository to a Mercurial one.
 
     Accepted source formats:
+    - Mercurial
     - CVS
     - Darcs
     - git
@@ -19,8 +20,8 @@
     basename of the source with '-hg' appended.  If the destination
     repository doesn't exist, it will be created.
 
-    If <revmapfile> isn't given, it will be put in a default location
-    (<dest>/.hg/shamap by default).  The <revmapfile> is a simple text
+    If <MAPFILE> isn't given, it will be put in a default location
+    (<dest>/.hg/shamap by default).  The <MAPFILE> is a simple text
     file that maps each source commit ID to the destination ID for
     that revision, like so:
     <source ID> <destination ID>
@@ -46,11 +47,12 @@
       rename from/file to/file
     
     The 'include' directive causes a file, or all files under a
-    directory, to be included in the destination repository.  The
-    'exclude' directive causes files or directories to be omitted.
-    The 'rename' directive renames a file or directory.  To rename
-    from a subdirectory into the root of the repository, use '.' as
-    the path to rename to.
+    directory, to be included in the destination repository, and the
+    exclusion of all other files and dirs not explicitely included.
+    The 'exclude' directive causes files or directories to be omitted.
+    The 'rename' directive renames a file or directory.  To rename from a
+    subdirectory into the root of the repository, use '.' as the path to
+    rename to.
 
 options: