# HG changeset patch # User Jun Wu # Date 2017-05-10 02:16:48 # Node ID 067985c267739dddfb2e44d793559e78d14cf258 # Parent 651ee1681964e822e3278ef44ea50a5114ea35d4 filectx: remove __new__ It does not seem to be used anywhere, and breaks a later patch. diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -688,9 +688,6 @@ class basefilectx(object): workingfilectx: a filecontext that represents files from the working directory, memfilectx: a filecontext that represents files in-memory.""" - def __new__(cls, repo, path, *args, **kwargs): - return super(basefilectx, cls).__new__(cls) - @propertycache def _filelog(self): return self._repo.file(self._path)