Show More
@@ -1,6 +1,10 b'' | |||||
1 | changeset = 'changeset: {rev}:{node|short}\n{tags}{short_parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' |
|
1 | changeset = 'changeset: {rev}:{node|short}\n{tags}{short_parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' | |
2 | changeset_quiet = '{rev}:{node|short}\n' |
|
2 | changeset_quiet = '{rev}:{node|short}\n' | |
3 |
changeset_verbose = 'changeset: {rev}:{node}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n |
|
3 | changeset_verbose = 'changeset: {rev}:{node|short}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' | |
|
4 | changeset_debug = 'changeset: {rev}:{node}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' | |||
|
5 | start_files = 'files: ' | |||
|
6 | file = ' {file}' | |||
|
7 | end_files = '\n' | |||
4 | start_file_adds = 'files+: ' |
|
8 | start_file_adds = 'files+: ' | |
5 | file_add = ' {file_add}' |
|
9 | file_add = ' {file_add}' | |
6 | end_file_adds = '\n' |
|
10 | end_file_adds = '\n' |
@@ -24,12 +24,15 b" echo 'logtemplate =' >> .hg/hgrc" | |||||
24 | echo 'style =' >> .hg/hgrc |
|
24 | echo 'style =' >> .hg/hgrc | |
25 |
|
25 | |||
26 | echo '# default style is like normal output' |
|
26 | echo '# default style is like normal output' | |
|
27 | echo '# normal' | |||
27 | hg log > log.out |
|
28 | hg log > log.out | |
28 | hg log --style default > style.out |
|
29 | hg log --style default > style.out | |
29 | diff log.out style.out |
|
30 | diff log.out style.out | |
|
31 | echo '# verbose' | |||
30 | hg log -v > log.out |
|
32 | hg log -v > log.out | |
31 | hg log -v --style default > style.out |
|
33 | hg log -v --style default > style.out | |
32 | diff log.out style.out |
|
34 | diff log.out style.out | |
|
35 | echo '# debug' | |||
33 | hg log --debug > log.out |
|
36 | hg log --debug > log.out | |
34 | hg log --debug --style default > style.out |
|
37 | hg log --debug --style default > style.out | |
35 | diff log.out style.out |
|
38 | diff log.out style.out |
@@ -1,26 +1,7 b'' | |||||
1 | # default style is like normal output |
|
1 | # default style is like normal output | |
2 | 1c1 |
|
2 | # normal | |
3 | < changeset: 3:10e46f2dcbf4 |
|
3 | # verbose | |
4 | --- |
|
4 | # debug | |
5 | > changeset: 3:10e46f2dcbf4823578cf180f33ecf0b957964c47 |
|
|||
6 | 10c10 |
|
|||
7 | < changeset: 2:97054abb4ab8 |
|
|||
8 | --- |
|
|||
9 | > changeset: 2:97054abb4ab824450e9164180baf491ae0078465 |
|
|||
10 | 18c18 |
|
|||
11 | < changeset: 1:b608e9d1a3f0 |
|
|||
12 | --- |
|
|||
13 | > changeset: 1:b608e9d1a3f0273ccf70fb85fd6866b3482bf965 |
|
|||
14 | 29c29 |
|
|||
15 | < changeset: 0:1e4e1b8f71e0 |
|
|||
16 | --- |
|
|||
17 | > changeset: 0:1e4e1b8f71e05681d422154f5421e385fec3454f |
|
|||
18 | 18a19 |
|
|||
19 | > files: |
|
|||
20 | 29a31 |
|
|||
21 | > files: |
|
|||
22 | 43a46 |
|
|||
23 | > files: |
|
|||
24 | # compact style works |
|
5 | # compact style works | |
25 | 3[tip] 10e46f2dcbf4 1970-01-16 01:06 +0000 person |
|
6 | 3[tip] 10e46f2dcbf4 1970-01-16 01:06 +0000 person | |
26 | no user, no domain |
|
7 | no user, no domain |
General Comments 0
You need to be logged in to leave comments.
Login now