Show More
@@ -91,6 +91,8 b" restricted = 'merge record qrecord resol" | |||||
91 |
|
91 | |||
92 | # commands using dorecord |
|
92 | # commands using dorecord | |
93 | recordcommands = 'record qrecord' |
|
93 | recordcommands = 'record qrecord' | |
|
94 | # names of extensions using dorecord | |||
|
95 | recordextensions = 'record' | |||
94 |
|
96 | |||
95 | # provide cvs-like UTC date filter |
|
97 | # provide cvs-like UTC date filter | |
96 | utcdate = lambda x: util.datestr((x[0], 0), '%Y/%m/%d %H:%M:%S') |
|
98 | utcdate = lambda x: util.datestr((x[0], 0), '%Y/%m/%d %H:%M:%S') | |
@@ -515,11 +517,12 b' def reposetup(ui, repo):' | |||||
515 | extensions.wrapfunction(patch, 'diff', kw_diff) |
|
517 | extensions.wrapfunction(patch, 'diff', kw_diff) | |
516 | for c in 'annotate changeset rev filediff diff'.split(): |
|
518 | for c in 'annotate changeset rev filediff diff'.split(): | |
517 | extensions.wrapfunction(webcommands, c, kwweb_skip) |
|
519 | extensions.wrapfunction(webcommands, c, kwweb_skip) | |
518 | try: |
|
520 | for name in recordextensions.split(): | |
519 | record = extensions.find('record') |
|
521 | try: | |
520 | extensions.wrapfunction(record, 'dorecord', kw_dorecord) |
|
522 | record = extensions.find(name) | |
521 | except KeyError: |
|
523 | extensions.wrapfunction(record, 'dorecord', kw_dorecord) | |
522 | pass |
|
524 | except KeyError: | |
|
525 | pass | |||
523 |
|
526 | |||
524 | cmdtable = { |
|
527 | cmdtable = { | |
525 | 'kwdemo': |
|
528 | 'kwdemo': |
General Comments 0
You need to be logged in to leave comments.
Login now