##// END OF EJS Templates
committablectx: move status-related methods closer together...
Martin von Zweigbergk -
r41955:2ba96fca default
parent child Browse files
Show More
@@ -1183,6 +1183,14 b' class committablectx(basectx):'
1183 1183 def files(self):
1184 1184 return sorted(self._status.modified + self._status.added +
1185 1185 self._status.removed)
1186 def modified(self):
1187 return self._status.modified
1188 def added(self):
1189 return self._status.added
1190 def removed(self):
1191 return self._status.removed
1192 def deleted(self):
1193 return self._status.deleted
1186 1194 @propertycache
1187 1195 def _copies(self):
1188 1196 p1copies = {}
@@ -1203,14 +1211,6 b' class committablectx(basectx):'
1203 1211 return self._copies[0]
1204 1212 def p2copies(self):
1205 1213 return self._copies[1]
1206 def modified(self):
1207 return self._status.modified
1208 def added(self):
1209 return self._status.added
1210 def removed(self):
1211 return self._status.removed
1212 def deleted(self):
1213 return self._status.deleted
1214 1214 def branch(self):
1215 1215 return encoding.tolocal(self._extra['branch'])
1216 1216 def closesbranch(self):
General Comments 0
You need to be logged in to leave comments. Login now