testui: set a username so recording obsolete markers doesn't break

This commit is contained in:
Augie Fackler 2017-02-12 15:16:16 -05:00
parent 52e6675fe0
commit 6db4c9bb51

View File

@ -284,6 +284,7 @@ def testui(stupid=False, layout='auto', startrev=0):
u = ui.ui()
bools = {True: 'true', False: 'false'}
u.setconfig('ui', 'quiet', bools[True])
u.setconfig('ui', 'username', 'automated tests')
u.setconfig('extensions', 'hgsubversion', '')
u.setconfig('hgsubversion', 'stupid', bools[stupid])
u.setconfig('hgsubversion', 'layout', layout)