equal
deleted
inserted
replaced
|
1 #!/usr/bin/env python |
|
2 |
|
3 from hgext import color |
|
4 |
|
5 # ensure errors aren't buffered |
|
6 testui = color.colorui() |
|
7 testui.pushbuffer() |
|
8 testui.write('buffered\n') |
|
9 testui.warn('warning\n') |
|
10 testui.write_err('error\n') |
|
11 print repr(testui.popbuffer()) |