Show More
@@ -137,7 +137,11 b' def gettimer(ui, opts=None):' | |||
|
137 | 137 | opts = {} |
|
138 | 138 | # redirect all to stderr |
|
139 | 139 | ui = ui.copy() |
|
140 | ui.fout = ui.ferr | |
|
140 | uifout = safeattrsetter(ui, 'fout', ignoremissing=True) | |
|
141 | if uifout: | |
|
142 | # for "historical portability": | |
|
143 | # ui.fout/ferr have been available since 1.9 (or 4e1ccd4c2b6d) | |
|
144 | uifout.set(ui.ferr) | |
|
141 | 145 | |
|
142 | 146 | # get a formatter |
|
143 | 147 | uiformatter = getattr(ui, 'formatter', None) |
General Comments 0
You need to be logged in to leave comments.
Login now