##// END OF EJS Templates
commitablefilectx: add a class that will be used for mutable file contexts...
Sean Farley -
r19701:f0f8380e default
parent child Browse files
Show More
@@ -1188,7 +1188,13 b' class workingctx(commitablectx):'
1188 finally:
1188 finally:
1189 wlock.release()
1189 wlock.release()
1190
1190
1191 class workingfilectx(basefilectx):
1191 class commitablefilectx(basefilectx):
1192 """A commitablefilectx provides common functionality for a file context that
1193 wants the ability to commit, e.g. workingfilectx or memfilectx."""
1194 def __init__(self, repo, path, filelog=None, ctx=None):
1195 pass
1196
1197 class workingfilectx(commitablefilectx):
1192 """A workingfilectx object makes access to data related to a particular
1198 """A workingfilectx object makes access to data related to a particular
1193 file in the working directory convenient."""
1199 file in the working directory convenient."""
1194 def __init__(self, repo, path, filelog=None, workingctx=None):
1200 def __init__(self, repo, path, filelog=None, workingctx=None):
General Comments 0
You need to be logged in to leave comments. Login now