mercurial/templatefilters.py
branchstable
changeset 10263 25e572394f5c
parent 9722 4d9dea174b84
child 10282 08a0f04b56bd
equal deleted inserted replaced
10262:eb243551cbd8 10263:25e572394f5c
     1 # template-filters.py - common template expansion filters
     1 # template-filters.py - common template expansion filters
     2 #
     2 #
     3 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
     3 # Copyright 2005-2008 Matt Mackall <mpm@selenic.com>
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2, incorporated herein by reference.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 import cgi, re, os, time, urllib, textwrap
     8 import cgi, re, os, time, urllib, textwrap
     9 import util, encoding
     9 import util, encoding
    10 
    10 
    11 def stringify(thing):
    11 def stringify(thing):