Show More
@@ -91,6 +91,8 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,8 +517,9 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) | |
|
520 | for name in recordextensions.split(): | |||
518 | try: |
|
521 | try: | |
519 |
record = extensions.find( |
|
522 | record = extensions.find(name) | |
520 | extensions.wrapfunction(record, 'dorecord', kw_dorecord) |
|
523 | extensions.wrapfunction(record, 'dorecord', kw_dorecord) | |
521 | except KeyError: |
|
524 | except KeyError: | |
522 | pass |
|
525 | pass |
General Comments 0
You need to be logged in to leave comments.
Login now