# # # delete "viewmtn.db" # # patch "index.psp" # from [68198f75c1cab5f56db246c51ef178357826b589] # to [d56ac87a469334ecae4b90d6b9a88a0bd1c0f1c9] # ============================================================ --- index.psp 68198f75c1cab5f56db246c51ef178357826b589 +++ index.psp d56ac87a469334ecae4b90d6b9a88a0bd1c0f1c9 @@ -1,11 +1,13 @@ <% import config import monotone -reload(config) -reload(monotone) +import common +import urllib from monotone import Monotone +reload(monotone) + hq = common.html_escape() mt = Monotone(config.monotone, config.dbfile) @@ -19,9 +21,11 @@ <% for branch in mt.get_branches(): - req.write('%s' % ( + req.write('%s
' % (urllib.quote(branch), hq(branch))) +%> + <% %>