Show More
@@ -970,6 +970,9 b' class commitablectx(basectx):' | |||||
970 | def files(self): |
|
970 | def files(self): | |
971 | return sorted(self._status[0] + self._status[1] + self._status[2]) |
|
971 | return sorted(self._status[0] + self._status[1] + self._status[2]) | |
972 |
|
972 | |||
|
973 | def modified(self): | |||
|
974 | return self._status[0] | |||
|
975 | ||||
973 | class workingctx(commitablectx): |
|
976 | class workingctx(commitablectx): | |
974 | """A workingctx object makes access to data related to |
|
977 | """A workingctx object makes access to data related to | |
975 | the current working directory convenient. |
|
978 | the current working directory convenient. | |
@@ -996,8 +999,6 b' class workingctx(commitablectx):' | |||||
996 | p = p[:-1] |
|
999 | p = p[:-1] | |
997 | return [changectx(self._repo, x) for x in p] |
|
1000 | return [changectx(self._repo, x) for x in p] | |
998 |
|
1001 | |||
999 | def modified(self): |
|
|||
1000 | return self._status[0] |
|
|||
1001 | def added(self): |
|
1002 | def added(self): | |
1002 | return self._status[1] |
|
1003 | return self._status[1] | |
1003 | def removed(self): |
|
1004 | def removed(self): |
General Comments 0
You need to be logged in to leave comments.
Login now