[Bug 3718] New: Template engine: improve iterator so that no trailing space is needed in template

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Sun Dec 2 22:31:31 CST 2012


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

          Priority: normal
            Bug ID: 3718
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: Template engine: improve iterator so that no trailing
                    space is needed in template
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: hgbugger at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: unspecified
         Component: Mercurial
           Product: Mercurial

Currently template engine does not inserts a space between two items while
processing an iterator.  This forces us to add trailing space at the end of a
template definition.  For example, mercurial/templates/paper/map has 12 places
with trailing space.

Template engine inserts space automatically when processing Join operation.

It will be cleaner if we can modify template engine to add a space while
processing iteration.

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


More information about the Mercurial-devel mailing list