[PATCH STABLE] convert: document convert.hg.startrev

Matt Mackall mpm at selenic.com
Thu Jul 30 16:35:41 CDT 2015


On Wed, 2015-07-29 at 21:47 -0400, Matt Harbison wrote:
> # HG changeset patch
> # User Matt Harbison <matt_harbison at yahoo.com>
> # Date 1438219916 14400
> #      Wed Jul 29 21:31:56 2015 -0400
> # Branch stable
> # Node ID a9fa08ce71d4b8f3c567968d2a8986aab64b6524
> # Parent  85785cd3b69f09f2e6ffa78dac75d68d08e400bd
> convert: document convert.hg.startrev

Queued for stable, with 'number' dropped, thanks.

> diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py
> --- a/hgext/convert/__init__.py
> +++ b/hgext/convert/__init__.py
> @@ -192,6 +192,9 @@
>          (forces target IDs to change). It takes a boolean argument and
>          defaults to False.
>  
> +    :convert.hg.startrev: specify the initial Mercurial revision number.
> +        The default is 0.
> +
>      :convert.hg.revs: revset specifying the source revisions to convert.
>  
>      CVS Source
> diff --git a/tests/test-convert.t b/tests/test-convert.t
> --- a/tests/test-convert.t
> +++ b/tests/test-convert.t
> @@ -143,6 +143,9 @@
>                      store original revision ID in changeset (forces target IDs
>                      to change). It takes a boolean argument and defaults to
>                      False.
> +      convert.hg.startrev
> +                    specify the initial Mercurial revision number. The default
> +                    is 0.
>        convert.hg.revs
>                      revset specifying the source revisions to convert.
>    
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list