hgext/highlight/__init__.py
changeset 50780 534c0dadd210
parent 48875 6000f5b25c9b
equal deleted inserted replaced
50779:39eb3aab3e63 50780:534c0dadd210
    99 
    99 
   100 
   100 
   101 def extsetup(ui):
   101 def extsetup(ui):
   102     # monkeypatch in the new version
   102     # monkeypatch in the new version
   103     extensions.wrapfunction(
   103     extensions.wrapfunction(
   104         webcommands, b'_filerevision', filerevision_highlight
   104         webcommands, '_filerevision', filerevision_highlight
   105     )
   105     )
   106     extensions.wrapfunction(webcommands, b'annotate', annotate_highlight)
   106     extensions.wrapfunction(webcommands, 'annotate', annotate_highlight)
   107     webcommands.highlightcss = generate_css
   107     webcommands.highlightcss = generate_css
   108     webcommands.__all__.append(b'highlightcss')
   108     webcommands.__all__.append(b'highlightcss')