##// END OF EJS Templates
commitablefilectx: move children from workingfilectx
Sean Farley -
r19705:79792c8e default
parent child Browse files
Show More
@@ -1226,6 +1226,9 b' class commitablefilectx(basefilectx):'
1226 1226 return [filectx(self._repo, p, fileid=n, filelog=l)
1227 1227 for p, n, l in pl if n != nullid]
1228 1228
1229 def children(self):
1230 return []
1231
1229 1232 class workingfilectx(commitablefilectx):
1230 1233 """A workingfilectx object makes access to data related to a particular
1231 1234 file in the working directory convenient."""
@@ -1244,9 +1247,6 b' class workingfilectx(commitablefilectx):'
1244 1247 return None
1245 1248 return rp, self._changectx._parents[0]._manifest.get(rp, nullid)
1246 1249
1247 def children(self):
1248 return []
1249
1250 1250 def size(self):
1251 1251 return os.lstat(self._repo.wjoin(self._path)).st_size
1252 1252 def date(self):
General Comments 0
You need to be logged in to leave comments. Login now