mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
testui: set a username so recording obsolete markers doesn't break
This commit is contained in:
parent
52e6675fe0
commit
6db4c9bb51
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user