Show More
@@ -219,27 +219,27 b' use shell=True in the subprocess call:' | |||||
219 | #endif |
|
219 | #endif | |
220 |
|
220 | |||
221 | A complicated pager command gets worse behavior. Bonus points if you can |
|
221 | A complicated pager command gets worse behavior. Bonus points if you can | |
222 | improve this. Windows apparently does this better? |
|
222 | improve this. Windows apparently does this better, but only sometimes? | |
223 | #if windows |
|
223 | #if windows | |
224 | $ hg log --limit 3 \ |
|
224 | $ hg log --limit 3 \ | |
225 | > --config pager.pager='this-command-better-never-exist --seriously' \ |
|
225 | > --config pager.pager='this-command-better-never-exist --seriously' \ | |
226 | > 2>/dev/null || true |
|
226 | > 2>/dev/null || true | |
227 | \x1b[0;33mchangeset: 10:46106edeeb38\x1b[0m (esc) |
|
227 | \x1b[0;33mchangeset: 10:46106edeeb38\x1b[0m (esc) (?) | |
228 | tag: tip |
|
228 | tag: tip (?) | |
229 | user: test |
|
229 | user: test (?) | |
230 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
230 | date: Thu Jan 01 00:00:00 1970 +0000 (?) | |
231 | summary: modify a 10 |
|
231 | summary: modify a 10 (?) | |
232 |
|
232 | (?) | ||
233 | \x1b[0;33mchangeset: 9:6dd8ea7dd621\x1b[0m (esc) |
|
233 | \x1b[0;33mchangeset: 9:6dd8ea7dd621\x1b[0m (esc) (?) | |
234 | user: test |
|
234 | user: test (?) | |
235 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
235 | date: Thu Jan 01 00:00:00 1970 +0000 (?) | |
236 | summary: modify a 9 |
|
236 | summary: modify a 9 (?) | |
237 |
|
237 | (?) | ||
238 | \x1b[0;33mchangeset: 8:cff05a6312fe\x1b[0m (esc) |
|
238 | \x1b[0;33mchangeset: 8:cff05a6312fe\x1b[0m (esc) (?) | |
239 | user: test |
|
239 | user: test (?) | |
240 | date: Thu Jan 01 00:00:00 1970 +0000 |
|
240 | date: Thu Jan 01 00:00:00 1970 +0000 (?) | |
241 | summary: modify a 8 |
|
241 | summary: modify a 8 (?) | |
242 |
|
242 | (?) | ||
243 | #else |
|
243 | #else | |
244 | $ hg log --limit 3 \ |
|
244 | $ hg log --limit 3 \ | |
245 | > --config pager.pager='this-command-better-never-exist --seriously' \ |
|
245 | > --config pager.pager='this-command-better-never-exist --seriously' \ |
General Comments 0
You need to be logged in to leave comments.
Login now