##// END OF EJS Templates
windows: add windows behavior on broken pager...
Raphaël Gomès -
r48414:9aad229a default
parent child Browse files
Show More
@@ -219,10 +219,32 b' use shell=True in the subprocess call:'
219 219 #endif
220 220
221 221 A complicated pager command gets worse behavior. Bonus points if you can
222 improve this.
222 improve this. Windows apparently does this better?
223 #if windows
223 224 $ hg log --limit 3 \
224 225 > --config pager.pager='this-command-better-never-exist --seriously' \
225 226 > 2>/dev/null || true
227 \x1b[0;33mchangeset: 10:46106edeeb38\x1b[0m (esc)
228 tag: tip
229 user: test
230 date: Thu Jan 01 00:00:00 1970 +0000
231 summary: modify a 10
232
233 \x1b[0;33mchangeset: 9:6dd8ea7dd621\x1b[0m (esc)
234 user: test
235 date: Thu Jan 01 00:00:00 1970 +0000
236 summary: modify a 9
237
238 \x1b[0;33mchangeset: 8:cff05a6312fe\x1b[0m (esc)
239 user: test
240 date: Thu Jan 01 00:00:00 1970 +0000
241 summary: modify a 8
242
243 #else
244 $ hg log --limit 3 \
245 > --config pager.pager='this-command-better-never-exist --seriously' \
246 > 2>/dev/null || true
247 #endif
226 248
227 249 Pager works with shell aliases.
228 250
General Comments 0
You need to be logged in to leave comments. Login now