Show More
@@ -91,6 +91,8 b" restricted = 'merge record qrecord resol" | |||
|
91 | 91 | |
|
92 | 92 | # commands using dorecord |
|
93 | 93 | recordcommands = 'record qrecord' |
|
94 | # names of extensions using dorecord | |
|
95 | recordextensions = 'record' | |
|
94 | 96 | |
|
95 | 97 | # provide cvs-like UTC date filter |
|
96 | 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 | 517 | extensions.wrapfunction(patch, 'diff', kw_diff) |
|
516 | 518 | for c in 'annotate changeset rev filediff diff'.split(): |
|
517 | 519 | extensions.wrapfunction(webcommands, c, kwweb_skip) |
|
518 | try: | |
|
519 | record = extensions.find('record') | |
|
520 | extensions.wrapfunction(record, 'dorecord', kw_dorecord) | |
|
521 | except KeyError: | |
|
522 | pass | |
|
520 | for name in recordextensions.split(): | |
|
521 | try: | |
|
522 | record = extensions.find(name) | |
|
523 | extensions.wrapfunction(record, 'dorecord', kw_dorecord) | |
|
524 | except KeyError: | |
|
525 | pass | |
|
523 | 526 | |
|
524 | 527 | cmdtable = { |
|
525 | 528 | 'kwdemo': |
General Comments 0
You need to be logged in to leave comments.
Login now