Mercurial > hg-stable
changeset 5484:07bdb5e5d08c
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.
author | "Rafael Villar Burke <pachi@rvburke.com>" |
---|---|
date | Fri, 02 Nov 2007 20:09:21 +0100 |
parents | ec2cc1dadbf7 |
children | 8c0756f7b18b a7248da55467 |
files | hgext/convert/__init__.py |
diffstat | 1 files changed, 9 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Thu Nov 01 17:15:50 2007 -0500 +++ b/hgext/convert/__init__.py Fri Nov 02 20:09:21 2007 +0100 @@ -299,6 +299,7 @@ """Convert a foreign SCM repository to a Mercurial one. Accepted source formats: + - Mercurial - CVS - Darcs - git @@ -315,8 +316,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> @@ -342,11 +343,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 + 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'