Patchwork [3,of,3,stable] convert: fix description of 'convert --rev'

login
register
mail settings
Submitter Mads Kiilerich
Date Oct. 2, 2013, 5:50 p.m.
Message ID <19c0af837dc58b9fb289.1380736250@mk-desktop>
Download mbox | patch
Permalink /patch/2707/
State Accepted
Commit 1ce3f56b879f56c6640c54d9b6acbaffceaaffa5
Headers show

Comments

Mads Kiilerich - Oct. 2, 2013, 5:50 p.m.
# HG changeset patch
# User Mads Kiilerich <madski@unity3d.com>
# Date 1374193956 -7200
#      Fri Jul 19 02:32:36 2013 +0200
# Branch stable
# Node ID 19c0af837dc58b9fb289a114cfc55568a6b43142
# Parent  ba16c06cd5c53b1c8d27c76ebf57675ba73cfa50
convert: fix description of 'convert --rev'
Augie Fackler - Oct. 3, 2013, 2:52 p.m.
On Wed, Oct 02, 2013 at 07:50:50PM +0200, Mads Kiilerich wrote:
> # HG changeset patch
> # User Mads Kiilerich <madski@unity3d.com>
> # Date 1374193956 -7200
> #      Fri Jul 19 02:32:36 2013 +0200
> # Branch stable
> # Node ID 19c0af837dc58b9fb289a114cfc55568a6b43142
> # Parent  ba16c06cd5c53b1c8d27c76ebf57675ba73cfa50
> convert: fix description of 'convert --rev'

queued these, thanks

>
> diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py
> --- a/hgext/convert/__init__.py
> +++ b/hgext/convert/__init__.py
> @@ -311,7 +311,7 @@
>            ('d', 'dest-type', '',
>             _('destination repository type'), _('TYPE')),
>            ('r', 'rev', '',
> -           _('import up to target revision REV'), _('REV')),
> +           _('import up to source revision REV'), _('REV')),
>            ('A', 'authormap', '',
>             _('remap usernames using this file'), _('FILE')),
>            ('', 'filemap', '',
> diff --git a/tests/test-convert.t b/tests/test-convert.t
> --- a/tests/test-convert.t
> +++ b/tests/test-convert.t
> @@ -262,7 +262,7 @@
>
>     -s --source-type TYPE source repository type
>     -d --dest-type TYPE   destination repository type
> -   -r --rev REV          import up to target revision REV
> +   -r --rev REV          import up to source revision REV
>     -A --authormap FILE   remap usernames using this file
>        --filemap FILE     remap file names using contents of file
>        --splicemap FILE   splice synthesized history into place
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel@selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

Patch

diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py
--- a/hgext/convert/__init__.py
+++ b/hgext/convert/__init__.py
@@ -311,7 +311,7 @@ 
           ('d', 'dest-type', '',
            _('destination repository type'), _('TYPE')),
           ('r', 'rev', '',
-           _('import up to target revision REV'), _('REV')),
+           _('import up to source revision REV'), _('REV')),
           ('A', 'authormap', '',
            _('remap usernames using this file'), _('FILE')),
           ('', 'filemap', '',
diff --git a/tests/test-convert.t b/tests/test-convert.t
--- a/tests/test-convert.t
+++ b/tests/test-convert.t
@@ -262,7 +262,7 @@ 
   
    -s --source-type TYPE source repository type
    -d --dest-type TYPE   destination repository type
-   -r --rev REV          import up to target revision REV
+   -r --rev REV          import up to source revision REV
    -A --authormap FILE   remap usernames using this file
       --filemap FILE     remap file names using contents of file
       --splicemap FILE   splice synthesized history into place