##// END OF EJS Templates
commitablectx: move dirs from workingctx
Sean Farley -
r19700:8f48f596 default
parent child Browse files
Show More
@@ -1059,6 +1059,9 b' class commitablectx(basectx):'
1059 self._repo.dirstate.drop(f)
1059 self._repo.dirstate.drop(f)
1060 self._repo.dirstate.setparents(node)
1060 self._repo.dirstate.setparents(node)
1061
1061
1062 def dirs(self):
1063 return self._repo.dirstate.dirs()
1064
1062 class workingctx(commitablectx):
1065 class workingctx(commitablectx):
1063 """A workingctx object makes access to data related to
1066 """A workingctx object makes access to data related to
1064 the current working directory convenient.
1067 the current working directory convenient.
@@ -1185,9 +1188,6 b' class workingctx(commitablectx):'
1185 finally:
1188 finally:
1186 wlock.release()
1189 wlock.release()
1187
1190
1188 def dirs(self):
1189 return self._repo.dirstate.dirs()
1190
1191 class workingfilectx(basefilectx):
1191 class workingfilectx(basefilectx):
1192 """A workingfilectx object makes access to data related to a particular
1192 """A workingfilectx object makes access to data related to a particular
1193 file in the working directory convenient."""
1193 file in the working directory convenient."""
General Comments 0
You need to be logged in to leave comments. Login now