equal
deleted
inserted
replaced
118 def replacehgwebannotate(): |
118 def replacehgwebannotate(): |
119 extensions.wrapfunction(hgweb.webutil, 'annotate', _hgwebannotate) |
119 extensions.wrapfunction(hgweb.webutil, 'annotate', _hgwebannotate) |
120 |
120 |
121 def replacefctxannotate(): |
121 def replacefctxannotate(): |
122 extensions.wrapfunction(hgcontext.basefilectx, 'annotate', _fctxannotate) |
122 extensions.wrapfunction(hgcontext.basefilectx, 'annotate', _fctxannotate) |
123 |
|
124 def replaceremotefctxannotate(): |
|
125 try: |
|
126 r = extensions.find('remotefilelog') |
|
127 except KeyError: |
|
128 return |
|
129 else: |
|
130 extensions.wrapfunction(r.remotefilectx.remotefilectx, 'annotate', |
|
131 _remotefctxannotate) |
|