Patchwork [3,of,3] bisect: refer directly to bisect() revset predicate in help

login
register
mail settings
Submitter via Mercurial-devel
Date Jan. 12, 2017, 8:59 p.m.
Message ID <a2737bbafbf207b70ffe.1484254768@martinvonz.mtv.corp.google.com>
Download mbox | patch
Permalink /patch/18197/
State Accepted
Headers show

Comments

via Mercurial-devel - Jan. 12, 2017, 8:59 p.m.
# HG changeset patch
# User Martin von Zweigbergk <martinvonz@google.com>
# Date 1484251523 28800
#      Thu Jan 12 12:05:23 2017 -0800
# Node ID a2737bbafbf207b70ffec4246abbf1de9a308770
# Parent  793f4271b8c4a6ce56f5ae6e645a2b5daedc0eba
bisect: refer directly to bisect() revset predicate in help

We have specific syntax for displaying the help text for a particular
revset predicate, so let's refer directly to the bisect() revset in
the verbose bisect help. It seems likely that the user doesn't care
about other revsets at that point, so they will probably not miss the
text about the other revset predicates.
Pierre-Yves David - Jan. 13, 2017, 8:23 a.m.
On 01/12/2017 09:59 PM, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz@google.com>
> # Date 1484251523 28800
> #      Thu Jan 12 12:05:23 2017 -0800
> # Node ID a2737bbafbf207b70ffec4246abbf1de9a308770
> # Parent  793f4271b8c4a6ce56f5ae6e645a2b5daedc0eba
> bisect: refer directly to bisect() revset predicate in help
>
> We have specific syntax for displaying the help text for a particular
> revset predicate, so let's refer directly to the bisect() revset in
> the verbose bisect help. It seems likely that the user doesn't care
> about other revsets at that point, so they will probably not miss the
> text about the other revset predicates.

That one is pushed, thanks.

Patch

diff -r 793f4271b8c4 -r a2737bbafbf2 mercurial/commands.py
--- a/mercurial/commands.py	Thu Jan 12 11:43:26 2017 -0800
+++ b/mercurial/commands.py	Thu Jan 12 12:05:23 2017 -0800
@@ -823,7 +823,7 @@ 
 
           hg log --graph -r "bisect(range)"
 
-      See :hg:`help revsets` for more about the `bisect()` keyword.
+      See :hg:`help revisions.bisect` for more about the `bisect()` predicate.
 
     Returns 0 on success.
     """