##// END OF EJS Templates
wrapfunction: use sysstr instead of bytes as argument in "keyword"...
marmoute -
r51677:fcb67b8c default
parent child Browse files
Show More
@@ -131,7 +131,7 b' nokwcommands = ('
131 131 )
132 132
133 133 # webcommands that do not act on keywords
134 nokwwebcommands = b'annotate changeset rev filediff diff comparison'
134 nokwwebcommands = 'annotate changeset rev filediff diff comparison'
135 135
136 136 # hg commands that trigger expansion only when writing to working dir,
137 137 # not when reading filelog, and unexpand when reading from working dir
@@ -806,14 +806,14 b' def uisetup(ui):'
806 806 kwtools[b'hgcmd'] = cmd
807 807 return cmd, func, args, options, cmdoptions
808 808
809 extensions.wrapfunction(dispatch, b'_parse', kwdispatch_parse)
809 extensions.wrapfunction(dispatch, '_parse', kwdispatch_parse)
810 810
811 extensions.wrapfunction(context.filectx, b'cmp', kwfilectx_cmp)
812 extensions.wrapfunction(patch.patchfile, b'__init__', kwpatchfile_init)
813 extensions.wrapfunction(patch, b'diff', kwdiff)
814 extensions.wrapfunction(cmdutil, b'amend', kw_amend)
815 extensions.wrapfunction(cmdutil, b'copy', kw_copy)
816 extensions.wrapfunction(cmdutil, b'dorecord', kw_dorecord)
811 extensions.wrapfunction(context.filectx, 'cmp', kwfilectx_cmp)
812 extensions.wrapfunction(patch.patchfile, '__init__', kwpatchfile_init)
813 extensions.wrapfunction(patch, 'diff', kwdiff)
814 extensions.wrapfunction(cmdutil, 'amend', kw_amend)
815 extensions.wrapfunction(cmdutil, 'copy', kw_copy)
816 extensions.wrapfunction(cmdutil, 'dorecord', kw_dorecord)
817 817 for c in nokwwebcommands.split():
818 818 extensions.wrapfunction(webcommands, c, kwweb_skip)
819 819
General Comments 0
You need to be logged in to leave comments. Login now