Show More
@@ -399,9 +399,9 b' def show_changeset(ui, repo, opts):' | |||||
399 |
|
399 | |||
400 | if tmpl or mapfile: |
|
400 | if tmpl or mapfile: | |
401 | if mapfile: |
|
401 | if mapfile: | |
402 |
if not os.path. |
|
402 | if not os.path.split(mapfile)[0]: | |
403 | mapname = templater.templatepath('map-cmdline.' + mapfile) |
|
403 | mapname = (templater.templatepath('map-cmdline.' + mapfile) | |
404 |
|
|
404 | or templater.templatepath(mapfile)) | |
405 | if mapname: mapfile = mapname |
|
405 | if mapname: mapfile = mapname | |
406 | try: |
|
406 | try: | |
407 | t = templater.changeset_templater(ui, repo, mapfile) |
|
407 | t = templater.changeset_templater(ui, repo, mapfile) |
@@ -65,6 +65,10 b" echo '[ui]' > .hg/hgrc" | |||||
65 | echo 'style = t' >> .hg/hgrc |
|
65 | echo 'style = t' >> .hg/hgrc | |
66 | hg log |
|
66 | hg log | |
67 |
|
67 | |||
|
68 | echo '# issue338' | |||
|
69 | hg log --style=changelog > changelog | |||
|
70 | cat changelog | |||
|
71 | ||||
68 | echo "# keys work" |
|
72 | echo "# keys work" | |
69 | for key in author branches date desc file_adds file_dels files \ |
|
73 | for key in author branches date desc file_adds file_dels files \ | |
70 | manifest node parents rev tags; do |
|
74 | manifest node parents rev tags; do |
@@ -76,6 +76,33 b' 3' | |||||
76 | 2 |
|
76 | 2 | |
77 | 1 |
|
77 | 1 | |
78 | 0 |
|
78 | 0 | |
|
79 | # issue338 | |||
|
80 | 1970-01-16 person <person> | |||
|
81 | ||||
|
82 | * c: | |||
|
83 | no user, no domain | |||
|
84 | [10e46f2dcbf4] [tip] | |||
|
85 | ||||
|
86 | 1970-01-14 other <other@place> | |||
|
87 | ||||
|
88 | * c: | |||
|
89 | no person | |||
|
90 | [97054abb4ab8] | |||
|
91 | ||||
|
92 | 1970-01-13 A. N. Other <other@place> | |||
|
93 | ||||
|
94 | * b: | |||
|
95 | other 1 other 2 | |||
|
96 | ||||
|
97 | other 3 | |||
|
98 | [b608e9d1a3f0] | |||
|
99 | ||||
|
100 | 1970-01-12 User Name <user@hostname> | |||
|
101 | ||||
|
102 | * a: | |||
|
103 | line 1 line 2 | |||
|
104 | [1e4e1b8f71e0] | |||
|
105 | ||||
79 | # keys work |
|
106 | # keys work | |
80 | author: person |
|
107 | author: person | |
81 | author: other@place |
|
108 | author: other@place |
General Comments 0
You need to be logged in to leave comments.
Login now