[PATCH 41 of 41] workingfilectx: inherit from basefilectx instead of filectx
Sean Farley
sean.michael.farley at gmail.com
Mon Aug 12 11:27:37 CDT 2013
# HG changeset patch
# User Sean Farley <sean.michael.farley at gmail.com>
# Date 1376283032 18000
# Sun Aug 11 23:50:32 2013 -0500
# Node ID dc804d89accf470a23e0843b8c52eac1420f8477
# Parent 3ff4552ea7280928297d313cfac7e46675a31bd3
workingfilectx: inherit from basefilectx instead of filectx
diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -1184,11 +1184,11 @@
self._repo.dirstate.setparents(node)
def dirs(self):
return self._repo.dirstate.dirs()
-class workingfilectx(filectx):
+class workingfilectx(basefilectx):
"""A workingfilectx object makes access to data related to a particular
file in the working directory convenient."""
def __init__(self, repo, path, filelog=None, workingctx=None):
"""changeid can be a changeset revision, node, or tag.
fileid can be a file revision or node."""
More information about the Mercurial-devel
mailing list