# HG changeset patch # User Patrick Mezard # Date 2008-03-12 22:21:01 # Node ID aac270593ef7cff8553db866b3351098ad1f6a16 # Parent 4a85a90771362dd0912c2f01c6da2b6549f52f50 convert: rename MAPFILE into REVMAP to disambiguate with filemap diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -33,8 +33,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: @@ -140,7 +140,7 @@ cmdtable = { ('s', 'source-type', '', 'source repository type'), ('', 'splicemap', '', 'splice synthesized history into place'), ('', 'datesort', None, 'try to sort changesets by date')], - 'hg convert [OPTION]... SOURCE [DEST [MAPFILE]]'), + 'hg convert [OPTION]... SOURCE [DEST [REVMAP]]'), "debugsvnlog": (debugsvnlog, [], diff --git a/tests/test-convert.out b/tests/test-convert.out --- a/tests/test-convert.out +++ b/tests/test-convert.out @@ -1,4 +1,4 @@ -hg convert [OPTION]... SOURCE [DEST [MAPFILE]] +hg convert [OPTION]... SOURCE [DEST [REVMAP]] Convert a foreign SCM repository to a Mercurial one. @@ -22,8 +22,8 @@ Convert a foreign SCM repository to a Me 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: