Show More
@@ -821,7 +821,14 b' class filectx(basefilectx):' | |||||
821 | return [filectx(self._repo, self._path, fileid=x, |
|
821 | return [filectx(self._repo, self._path, fileid=x, | |
822 | filelog=self._filelog) for x in c] |
|
822 | filelog=self._filelog) for x in c] | |
823 |
|
823 | |||
824 |
class |
|
824 | class commitablectx(basectx): | |
|
825 | """A commitablectx object provides common functionality for a context that | |||
|
826 | wants the ability to commit, e.g. workingctx or memctx.""" | |||
|
827 | def __init__(self, repo, text="", user=None, date=None, extra=None, | |||
|
828 | changes=None): | |||
|
829 | pass | |||
|
830 | ||||
|
831 | class workingctx(commitablectx): | |||
825 | """A workingctx object makes access to data related to |
|
832 | """A workingctx object makes access to data related to | |
826 | the current working directory convenient. |
|
833 | the current working directory convenient. | |
827 | date - any valid date string or (unixtime, offset), or None. |
|
834 | date - any valid date string or (unixtime, offset), or None. |
General Comments 0
You need to be logged in to leave comments.
Login now