[PATCH 4 of 7] help: document about "resolve" template keywords

Yuya Nishihara yuya at tcha.org
Thu Oct 11 10:48:48 EDT 2018


On Thu, 11 Oct 2018 10:38:31 +0200, Gregory Szorc wrote:
> On Sun, Oct 7, 2018 at 4:40 PM Yuya Nishihara <yuya at tcha.org> wrote:
> 
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1538921100 -32400
> > #      Sun Oct 07 23:05:00 2018 +0900
> > # Node ID d1b6f5e6f40350df11ecd25c70c724ab8082ce96
> > # Parent  df05cead5b1b6b06939f20790a43b696189a8012
> > help: document about "resolve" template keywords
> >
> > diff --git a/mercurial/commands.py b/mercurial/commands.py
> > --- a/mercurial/commands.py
> > +++ b/mercurial/commands.py
> > @@ -4678,6 +4678,16 @@ def resolve(ui, repo, *pats, **opts):
> >         conflicts. You must use :hg:`resolve -m ...` before you can
> >         commit after a conflicting merge.
> >
> > +    .. container:: verbose
> > +
> > +      Template:
> > +
> > +      The following keywords are supported in addition to the common
> > template
> > +      keywords and functions. See also :hg:`help templates`.
> > +
> > +      :mergestatus: String. Character denoting merge conflicts, ``U`` or
> > ``R``.
> > +      :path:    String. Repository-absolute path of the file.
> >
> 
> The indentation here seems inconsistent with other patches. Is this
> intentional?

:mergestatus: is slightly longer word. I just left the shorter terms at the
same indent level.


More information about the Mercurial-devel mailing list