equal
deleted
inserted
replaced
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. |