##// END OF EJS Templates
keyword: support extensions using dorecord, e.g. crecord...
Christian Ebert -
r11168:6d0d945f default
parent child Browse files
Show More
@@ -91,6 +91,8 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,8 +517,9 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)
520 for name in recordextensions.split():
518 521 try:
519 record = extensions.find('record')
522 record = extensions.find(name)
520 523 extensions.wrapfunction(record, 'dorecord', kw_dorecord)
521 524 except KeyError:
522 525 pass
General Comments 0
You need to be logged in to leave comments. Login now