# HG changeset patch # User "Rafael Villar Burke " # Date 2007-11-02 19:09:21 # Node ID 07bdb5e5d08cc533e278ceb4cc043e06caf65dff # Parent ec2cc1dadbf790641ce1f3ecded504820209fc56 Update convert help text Add Mercurial as a source format, clarify that the include directive triggers the exclusion of all not explicitely included files/dirs and use MAPFILE instead of revmapfile in the text, following the short message convention. diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -299,6 +299,7 @@ def convert(ui, src, dest=None, revmapfi """Convert a foreign SCM repository to a Mercurial one. Accepted source formats: + - Mercurial - CVS - Darcs - git @@ -315,8 +316,8 @@ def convert(ui, src, dest=None, revmapfi basename of the source with '-hg' appended. If the destination repository doesn't exist, it will be created. - If isn't given, it will be put in a default location - (/.hg/shamap by default). The is a simple text + If isn't given, it will be put in a default location + (/.hg/shamap by default). The is a simple text file that maps each source commit ID to the destination ID for that revision, like so: @@ -342,11 +343,12 @@ def convert(ui, src, dest=None, revmapfi 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 + exclussion 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. """ util._encoding = 'UTF-8'