Show More
@@ -52,6 +52,30 By default diff and log are paged, but i | |||
|
52 | 52 | $ hg id |
|
53 | 53 | 46106edeeb38 tip |
|
54 | 54 | |
|
55 | We can control the pager from the config | |
|
56 | ||
|
57 | $ hg log --limit 1 --config 'pager.enable=False' | |
|
58 | changeset: 10:46106edeeb38 | |
|
59 | tag: tip | |
|
60 | user: test | |
|
61 | date: Thu Jan 01 00:00:00 1970 +0000 | |
|
62 | summary: modify a 10 | |
|
63 | ||
|
64 | $ hg log --limit 1 --config 'pager.enable=0' | |
|
65 | changeset: 10:46106edeeb38 | |
|
66 | tag: tip | |
|
67 | user: test | |
|
68 | date: Thu Jan 01 00:00:00 1970 +0000 | |
|
69 | summary: modify a 10 | |
|
70 | ||
|
71 | $ hg log --limit 1 --config 'pager.enable=1' | |
|
72 | paged! 'changeset: 10:46106edeeb38\n' | |
|
73 | paged! 'tag: tip\n' | |
|
74 | paged! 'user: test\n' | |
|
75 | paged! 'date: Thu Jan 01 00:00:00 1970 +0000\n' | |
|
76 | paged! 'summary: modify a 10\n' | |
|
77 | paged! '\n' | |
|
78 | ||
|
55 | 79 | We can enable the pager on id: |
|
56 | 80 | |
|
57 | 81 | BROKEN: should be paged |
General Comments 0
You need to be logged in to leave comments.
Login now