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

Matt Mackall mpm at selenic.com
Thu Jul 30 12:49:55 CDT 2015


On Thu, 2015-07-30 at 13:07 -0400, Augie Fackler wrote:
> 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?

Looks like it's any single revision identifier (rev, node, tag,
bookmark, branch), but not a revset.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial-devel mailing list