Show More
@@ -402,7 +402,7 b' def stylelist():' | |||||
402 | split = file.split(".") |
|
402 | split = file.split(".") | |
403 | if split[0] == "map-cmdline": |
|
403 | if split[0] == "map-cmdline": | |
404 | stylelist.append(split[1]) |
|
404 | stylelist.append(split[1]) | |
405 | return ", ".join(stylelist) |
|
405 | return ", ".join(sorted(stylelist)) | |
406 |
|
406 | |||
407 | class templater(object): |
|
407 | class templater(object): | |
408 |
|
408 |
@@ -458,7 +458,8 b' Error if style not readable:' | |||||
458 | Error if no style: |
|
458 | Error if no style: | |
459 |
|
459 | |||
460 | $ hg log --style notexist |
|
460 | $ hg log --style notexist | |
461 |
abort: style not found |
|
461 | abort: style 'notexist' not found | |
|
462 | (available styles: bisect, changelog, compact, default, phases, xml) | |||
462 | [255] |
|
463 | [255] | |
463 |
|
464 | |||
464 | Error if style missing key: |
|
465 | Error if style missing key: |
@@ -88,7 +88,7 b' log on directory' | |||||
88 |
|
88 | |||
89 | $ hg log -f -l1 --style something |
|
89 | $ hg log -f -l1 --style something | |
90 | abort: style 'something' not found |
|
90 | abort: style 'something' not found | |
91 |
(available styles: changelog, |
|
91 | (available styles: bisect, changelog, compact, default, phases, xml) | |
92 | [255] |
|
92 | [255] | |
93 |
|
93 | |||
94 | -f, phases style |
|
94 | -f, phases style |
General Comments 0
You need to be logged in to leave comments.
Login now