Mercurial > hg
comparison tests/test-ui-color.py @ 51700:7f0cb9ee0534
Backout accidental publication of a large range of revisions
I accidentally published 25e7f9dcad0f::bd1483fd7088, this is the inverse.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 23 Jul 2024 10:02:46 +0200 |
parents | 493034cc3265 |
children | ca7bde5dbafb |
comparison
equal
deleted
inserted
replaced
51699:bd1483fd7088 | 51700:7f0cb9ee0534 |
---|---|
23 ui_.setconfig(b'ui', b'formatted', b'True') | 23 ui_.setconfig(b'ui', b'formatted', b'True') |
24 | 24 |
25 # we're not interested in the output, so write that to devnull | 25 # we're not interested in the output, so write that to devnull |
26 ui_.fout = open(os.devnull, 'wb') | 26 ui_.fout = open(os.devnull, 'wb') |
27 | 27 |
28 | |
29 # call some arbitrary command just so we go through | 28 # call some arbitrary command just so we go through |
30 # color's wrapped _runcommand twice. | 29 # color's wrapped _runcommand twice. |
31 def runcmd(): | 30 def runcmd(): |
32 dispatch.dispatch(dispatch.request([b'version', b'-q'], ui_)) | 31 dispatch.dispatch(dispatch.request([b'version', b'-q'], ui_)) |
33 | 32 |