Show More
@@ -1976,9 +1976,9 b' class workingfilectx(committablefilectx)' | |||
|
1976 | 1976 | def setflags(self, l, x): |
|
1977 | 1977 | self._repo.wvfs.setflags(self._path, l, x) |
|
1978 | 1978 | |
|
1979 |
class overlayworkingctx( |
|
|
1980 |
"""Wraps another mutable context with a write-back cache that can be |
|
|
1981 | at a later time. | |
|
1979 | class overlayworkingctx(committablectx): | |
|
1980 | """Wraps another mutable context with a write-back cache that can be | |
|
1981 | converted into a commit context. | |
|
1982 | 1982 | |
|
1983 | 1983 | self._cache[path] maps to a dict with keys: { |
|
1984 | 1984 | 'exists': bool? |
@@ -2161,7 +2161,7 b' class overlayworkingctx(workingctx):' | |||
|
2161 | 2161 | return overlayworkingfilectx(self._repo, path, parent=self, |
|
2162 | 2162 | filelog=filelog) |
|
2163 | 2163 | |
|
2164 |
class overlayworkingfilectx( |
|
|
2164 | class overlayworkingfilectx(committablefilectx): | |
|
2165 | 2165 | """Wrap a ``workingfilectx`` but intercepts all writes into an in-memory |
|
2166 | 2166 | cache, which can be flushed through later by calling ``flush()``.""" |
|
2167 | 2167 |
General Comments 0
You need to be logged in to leave comments.
Login now