[Bug 5227] New: hg help internals.revlogs not working

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Fri May 6 02:08:00 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5227

            Bug ID: 5227
           Summary: hg help internals.revlogs not working
           Product: Mercurial
           Version: 3.8.1
          Hardware: PC
                OS: All
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: matt_harbison at yahoo.com
                CC: gregory.szorc at gmail.com, mercurial-devel at selenic.com

This isn't an installer issue, as it also happens when run from source:

$ ../hg help internals.revlogs
abort: help section not found

The work around seems to be:

$ ../hg help "internals.revisions logs"
    Revisions Logs
    ==============
...

That's nonstandard, and isn't what is expected from the internals help list:

$ ../hg help internals
Technical implementation topics
"""""""""""""""""""""""""""""""

     bundles       container for exchange of repository data
     changegroups  representation of revlog data
     requirements  repository requirements
     revlogs       revision storage mechanism


For whatever reason, when I change the first line of revlogs.txt to say
"Revlogs" instead of "Revisions Logs" (the other three files' first line
matches the left column), it still doesn't work.  The text is being passed into
minirst.format(), and an empty string is being returned as the formatted text.

Inside minirst.format(), the 'name == section' check is never true in the
failing case.  In the working case, ['Revisions Logs'] has its own section as
returned by getsection(); in the failing case, the line is piled into the first
section titled 'revision storage mechanism'.

Other than the file name not matching the first line of the file, I'm not sure
what the difference is from the other 3 internals that are working.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list