##// END OF EJS Templates
context: use correct spelling of committable
Sean Farley -
r19733:51988f00 default
parent child Browse files
Show More
@@ -821,8 +821,8 b' class filectx(basefilectx):'
821 821 return [filectx(self._repo, self._path, fileid=x,
822 822 filelog=self._filelog) for x in c]
823 823
824 class commitablectx(basectx):
825 """A commitablectx object provides common functionality for a context that
824 class committablectx(basectx):
825 """A committablectx object provides common functionality for a context that
826 826 wants the ability to commit, e.g. workingctx or memctx."""
827 827 def __init__(self, repo, text="", user=None, date=None, extra=None,
828 828 changes=None):
@@ -1062,7 +1062,7 b' class commitablectx(basectx):'
1062 1062 def dirs(self):
1063 1063 return self._repo.dirstate.dirs()
1064 1064
1065 class workingctx(commitablectx):
1065 class workingctx(committablectx):
1066 1066 """A workingctx object makes access to data related to
1067 1067 the current working directory convenient.
1068 1068 date - any valid date string or (unixtime, offset), or None.
@@ -1188,9 +1188,9 b' class workingctx(commitablectx):'
1188 1188 finally:
1189 1189 wlock.release()
1190 1190
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."""
1191 class committablefilectx(basefilectx):
1192 """A committablefilectx provides common functionality for a file context
1193 that wants the ability to commit, e.g. workingfilectx or memfilectx."""
1194 1194 def __init__(self, repo, path, filelog=None, ctx=None):
1195 1195 self._repo = repo
1196 1196 self._path = path
@@ -1229,7 +1229,7 b' class commitablefilectx(basefilectx):'
1229 1229 def children(self):
1230 1230 return []
1231 1231
1232 class workingfilectx(commitablefilectx):
1232 class workingfilectx(committablefilectx):
1233 1233 """A workingfilectx object makes access to data related to a particular
1234 1234 file in the working directory convenient."""
1235 1235 def __init__(self, repo, path, filelog=None, workingctx=None):
General Comments 0
You need to be logged in to leave comments. Login now