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

login
register
mail settings
Submitter Sean Farley
Date Aug. 7, 2013, 6:13 p.m.
Message ID <3f12610b25b6e786c81d.1375899215@laptop.local>
Download mbox | patch
Permalink /patch/2051/
State Superseded
Commit 0e4107cda2a2f5c1df334a16276cd40c0c2e6d0e
Delegated to: Augie Fackler
Headers show

Comments

Sean Farley - Aug. 7, 2013, 6:13 p.m.
# HG changeset patch
# User Sean Farley <sean.michael.farley@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

Patch

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.