Patchwork D7518: revlog: fix revset in reachableroots docstring

login
register
mail settings
Submitter phabricator
Date Nov. 26, 2019, 2:48 p.m.
Message ID <8ff52041fe17738aa5d2efda88b83bc1@localhost.localdomain>
Download mbox | patch
Permalink /patch/43523/
State Not Applicable
Headers show

Comments

phabricator - Nov. 26, 2019, 2:48 p.m.
Closed by commit rHG1a42f8451a92: revlog: fix revset in reachableroots docstring (authored by quark).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7518?vs=18390&id=18394

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7518/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7518

AFFECTED FILES
  mercurial/revlog.py

CHANGE DETAILS




To: quark, indygreg, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/mercurial/revlog.py b/mercurial/revlog.py
--- a/mercurial/revlog.py
+++ b/mercurial/revlog.py
@@ -1279,7 +1279,7 @@ 
         return bool(self.reachableroots(a, [b], [a], includepath=False))
 
     def reachableroots(self, minroot, heads, roots, includepath=False):
-        """return (heads(::<roots> and <roots>::<heads>))
+        """return (heads(::(<roots> and <roots>::<heads>)))
 
         If includepath is True, return (<roots>::<heads>)."""
         try: