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

Augie Fackler raf at durin42.com
Thu Jul 30 12:07:08 CDT 2015


On Wed, Jul 29, 2015 at 09:47:27PM -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
> 
> 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.
> +

Can this also be a node or revset query, or must it be a number?

>     :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


More information about the Mercurial-devel mailing list