##// END OF EJS Templates
commitablectx: move extra from workingctx
Sean Farley -
r19689:8dbb66f3 default
parent child Browse files
Show More
@@ -991,6 +991,8 b' class commitablectx(basectx):'
991 return encoding.tolocal(self._extra['branch'])
991 return encoding.tolocal(self._extra['branch'])
992 def closesbranch(self):
992 def closesbranch(self):
993 return 'close' in self._extra
993 return 'close' in self._extra
994 def extra(self):
995 return self._extra
994
996
995 class workingctx(commitablectx):
997 class workingctx(commitablectx):
996 """A workingctx object makes access to data related to
998 """A workingctx object makes access to data related to
@@ -1018,9 +1020,6 b' class workingctx(commitablectx):'
1018 p = p[:-1]
1020 p = p[:-1]
1019 return [changectx(self._repo, x) for x in p]
1021 return [changectx(self._repo, x) for x in p]
1020
1022
1021 def extra(self):
1022 return self._extra
1023
1024 def tags(self):
1023 def tags(self):
1025 t = []
1024 t = []
1026 for p in self.parents():
1025 for p in self.parents():
General Comments 0
You need to be logged in to leave comments. Login now