##// END OF EJS Templates
revlog: subclass the new `repository.iverifyproblem` Protocol class...
revlog: subclass the new `repository.iverifyproblem` Protocol class This is the same transformation as 3a90a6fd710d did for dirstate, but the CamelCase naming was already cleaned up here. We shouldn't have to explicitly subclass, but I'm doing so to test the interplay of regular attributes and the `attrs` class. Also, PyCharm has a nifty feature that puts a jump point in the gutter to navigate back and forth between the base class and subclasses (and override functions and base class functions) when there's an explicit subclassing. Additionally, PyCharm will immediately flag signature mismatches without a 40m pytype run.

File last commit:

r49730:6000f5b2 default
r53365:4ef6dbc2 default
Show More
failfilemerge.py
16 lines | 281 B | text/x-python | PythonLexer
Mads Kiilerich
spelling: fixes of non-dictionary words
r30332 # extension to emulate interrupting filemerge._filemerge
timeless
rebase: update working directory when aborting (issue5084)
r27988
from mercurial import (
Yuya Nishihara
tests: sort import lines in failfilemerge.py
r28772 error,
timeless
rebase: update working directory when aborting (issue5084)
r27988 extensions,
Yuya Nishihara
tests: sort import lines in failfilemerge.py
r28772 filemerge,
timeless
rebase: update working directory when aborting (issue5084)
r27988 )
Augie Fackler
formatting: blacken the codebase...
r43346
Martin von Zweigbergk
tests: remove unnecessary explicit args from `failfilemerge.py`...
r49255 def failfilemerge(*args, **kwargs):
Martin von Zweigbergk
errors: stop passing non-strings to Abort's constructor...
r46273 raise error.Abort(b"^C")
timeless
rebase: update working directory when aborting (issue5084)
r27988
Augie Fackler
formatting: blacken the codebase...
r43346
timeless
rebase: update working directory when aborting (issue5084)
r27988 def extsetup(ui):
Martin von Zweigbergk
filemerge: inline `_filemerge()` into `filemerge()`...
r49261 extensions.wrapfunction(filemerge, 'filemerge', failfilemerge)