[PATCH 35 of 36] workingctx: inherit from context instead of changectx

Sean Farley sean.michael.farley at gmail.com
Wed Aug 7 13:13:35 CDT 2013


# HG changeset patch
# User Sean Farley <sean.michael.farley at gmail.com>
# Date 1375746258 18000
#      Mon Aug 05 18:44:18 2013 -0500
# Node ID 3f12610b25b6e786c81d84734ca8433ad47ab7a3
# Parent  727c68355f67032e970a5d961d1ee70ecc316f12
workingctx: inherit from context instead of changectx

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -802,11 +802,11 @@
         sc2 = str(c2)
         if sc2 not in self._copycache:
             self._copycache[sc2] = copies.pathcopies(c2)
         return self._copycache[sc2]
 
-class workingctx(changectx):
+class workingctx(context):
     """A workingctx object makes access to data related to
     the current working directory convenient.
     date - any valid date string or (unixtime, offset), or None.
     user - username string, or None.
     extra - a dictionary of extra values, or None.


More information about the Mercurial-devel mailing list