comparison mercurial/hgweb/hgwebdir_mod.py @ 12696:ef969e58a394

hgweb: another fix for the help termwidth bug
author Matt Mackall <mpm@selenic.com>
date Sun, 10 Oct 2010 17:35:28 -0500
parents 1b1a9038a71a
children 86888ae9ce90
comparison
equal deleted inserted replaced
12695:05077896ffe2 12696:ef969e58a394
56 return 56 return
57 57
58 if self.baseui: 58 if self.baseui:
59 u = self.baseui.copy() 59 u = self.baseui.copy()
60 else: 60 else:
61 u = webutil.wsgiui() 61 u = ui.ui()
62 u.setconfig('ui', 'report_untrusted', 'off') 62 u.setconfig('ui', 'report_untrusted', 'off')
63 u.setconfig('ui', 'interactive', 'off') 63 u.setconfig('ui', 'interactive', 'off')
64 64
65 if not isinstance(self.conf, (dict, list, tuple)): 65 if not isinstance(self.conf, (dict, list, tuple)):
66 map = {'paths': 'hgweb-paths'} 66 map = {'paths': 'hgweb-paths'}