##// END OF EJS Templates
Added tag 1.7.1 for changeset 4438875ec01b
Added tag 1.7.1 for changeset 4438875ec01b

File last commit:

r12865:4c50552f stable
r12988:83841063 stable
Show More
test-ui-color.py
9 lines | 213 B | text/x-python | PythonLexer
from hgext import color
# ensure errors aren't buffered
testui = color.colorui()
testui.pushbuffer()
testui.write('buffered\n')
testui.warn('warning\n')
testui.write_err('error\n')
print repr(testui.popbuffer())