mercurial/templater.py
changeset 3891 6b4127c7d52a
parent 3877 abaee83ce0a6
child 3906 1063a631cb8e
equal deleted inserted replaced
3890:2eec996f2fb9 3891:6b4127c7d52a
     3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
     3 # Copyright 2005, 2006 Matt Mackall <mpm@selenic.com>
     4 #
     4 #
     5 # This software may be used and distributed according to the terms
     5 # This software may be used and distributed according to the terms
     6 # of the GNU General Public License, incorporated herein by reference.
     6 # of the GNU General Public License, incorporated herein by reference.
     7 
     7 
     8 from i18n import gettext as _
     8 from i18n import _
     9 from node import *
     9 from node import *
    10 import cgi, re, sys, os, time, urllib, util, textwrap
    10 import cgi, re, sys, os, time, urllib, util, textwrap
    11 
    11 
    12 def parsestring(s, quoted=True):
    12 def parsestring(s, quoted=True):
    13     '''parse a string using simple c-like syntax.
    13     '''parse a string using simple c-like syntax.