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

Martin von Zweigbergk martinvonz at google.com
Thu Jan 12 15:59:28 EST 2017


# HG changeset patch
# User Martin von Zweigbergk <martinvonz at 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.

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.
     """


More information about the Mercurial-devel mailing list