Show More
@@ -145,6 +145,9 b' def getrenamedfn(repo, endrev=None):' | |||
|
145 | 145 | def showauthor(repo, ctx, templ, **args): |
|
146 | 146 | return ctx.user() |
|
147 | 147 | |
|
148 | def showbranch(**args): | |
|
149 | return args['ctx'].branch() | |
|
150 | ||
|
148 | 151 | def showbranches(**args): |
|
149 | 152 | branch = args['ctx'].branch() |
|
150 | 153 | if branch != 'default': |
@@ -247,6 +250,7 b' def showtags(**args):' | |||
|
247 | 250 | # revcache - a cache dictionary for the current revision |
|
248 | 251 | keywords = { |
|
249 | 252 | 'author': showauthor, |
|
253 | 'branch': showbranch, | |
|
250 | 254 | 'branches': showbranches, |
|
251 | 255 | 'children': showchildren, |
|
252 | 256 | 'date': showdate, |
@@ -570,7 +570,7 b" Issue2130: xml output for 'hg heads' is " | |||
|
570 | 570 | |
|
571 | 571 | Keys work: |
|
572 | 572 | |
|
573 | $ for key in author branches date desc file_adds file_dels file_mods \ | |
|
573 | $ for key in author branch branches date desc file_adds file_dels file_mods \ | |
|
574 | 574 | > file_copies file_copies_switch files \ |
|
575 | 575 | > manifest node parents rev tags diffstat extras; do |
|
576 | 576 | > for mode in '' --verbose --debug; do |
@@ -604,6 +604,33 b' Keys work:' | |||
|
604 | 604 | author--debug: other@place |
|
605 | 605 | author--debug: A. N. Other <other@place> |
|
606 | 606 | author--debug: User Name <user@hostname> |
|
607 | branch: default | |
|
608 | branch: default | |
|
609 | branch: default | |
|
610 | branch: default | |
|
611 | branch: foo | |
|
612 | branch: default | |
|
613 | branch: default | |
|
614 | branch: default | |
|
615 | branch: default | |
|
616 | branch--verbose: default | |
|
617 | branch--verbose: default | |
|
618 | branch--verbose: default | |
|
619 | branch--verbose: default | |
|
620 | branch--verbose: foo | |
|
621 | branch--verbose: default | |
|
622 | branch--verbose: default | |
|
623 | branch--verbose: default | |
|
624 | branch--verbose: default | |
|
625 | branch--debug: default | |
|
626 | branch--debug: default | |
|
627 | branch--debug: default | |
|
628 | branch--debug: default | |
|
629 | branch--debug: foo | |
|
630 | branch--debug: default | |
|
631 | branch--debug: default | |
|
632 | branch--debug: default | |
|
633 | branch--debug: default | |
|
607 | 634 | branches: |
|
608 | 635 | branches: |
|
609 | 636 | branches: |
General Comments 0
You need to be logged in to leave comments.
Login now