##// END OF EJS Templates
commitablectx: move _flagfunc from workingctx
Sean Farley -
r19670:6ac735fb default
parent child Browse files
Show More
@@ -897,6 +897,10 b' class commitablectx(basectx):'
897 897
898 898 return func
899 899
900 @propertycache
901 def _flagfunc(self):
902 return self._repo.dirstate.flagfunc(self._buildflagfunc)
903
900 904 class workingctx(commitablectx):
901 905 """A workingctx object makes access to data related to
902 906 the current working directory convenient.
@@ -911,10 +915,6 b' class workingctx(commitablectx):'
911 915 super(workingctx, self).__init__(repo, text, user, date, extra, changes)
912 916
913 917 @propertycache
914 def _flagfunc(self):
915 return self._repo.dirstate.flagfunc(self._buildflagfunc)
916
917 @propertycache
918 918 def _manifest(self):
919 919 """generate a manifest corresponding to the working directory"""
920 920
General Comments 0
You need to be logged in to leave comments. Login now