[PATCH 35 of 35 V2] workingctx: inherit from context instead of changectx
Sean Farley
sean.michael.farley at gmail.com
Wed Aug 7 23:51:49 UTC 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 3bfef4b7625282b14f5727aaefbcb906af804262
# Parent 28a28810fa48edc0521df4a68b296560e9017a1b
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
@@ -808,11 +808,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