##// END OF EJS Templates
overlayworkingctx: move _wrappedctx out of the constructor...
Phil Cohen -
r35290:2f8c476c default
parent child Browse files
Show More
@@ -1990,11 +1990,14 class overlayworkingctx(workingctx):
1990 1990 is `False`, the file was deleted.
1991 1991 """
1992 1992
1993 def __init__(self, repo, wrappedctx):
1993 def __init__(self, repo):
1994 1994 super(overlayworkingctx, self).__init__(repo)
1995 1995 self._repo = repo
1996 1996 self.clean()
1997
1998 def setbase(self, wrappedctx):
1997 1999 self._wrappedctx = wrappedctx
2000 self._parents = [wrappedctx]
1998 2001
1999 2002 def data(self, path):
2000 2003 if self.isdirty(path):
General Comments 0
You need to be logged in to leave comments. Login now