[Bug 3801] New: Help for templates is inconsistent with behaviour regarding the tabindent filter

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Sat Feb 2 17:39:58 CST 2013


http://bz.selenic.com/show_bug.cgi?id=3801

          Priority: normal
            Bug ID: 3801
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Help for templates is inconsistent with behaviour
                    regarding the tabindent filter
          Severity: bug
    Classification: Unclassified
                OS: All
          Reporter: swpalmer at gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.5-rc
         Component: Mercurial
           Product: Mercurial

"hg help templates" says of 'tabindent'


    tabindent     Any text. Returns the text, with every line except the first
                  starting with a tab character.

It should be made clear that the tab character is not added to the beginning of
blank lines.

I was told via IRC:
 tabindent calls indent whose help says:
     '''indent each non-empty line of text after first with prefix.'''
 so it looks intentional and should probably be mentioned in the help.

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


More information about the Mercurial-devel mailing list