##// END OF EJS Templates
obsstore: make the readonly attribute accessible...
Pierre-Yves David -
r26684:74ff350c default
parent child Browse files
Show More
@@ -542,6 +542,13 b' class obsstore(object):'
542 pass
542 pass
543 return bool(self._all)
543 return bool(self._all)
544
544
545 @property
546 def readonly(self):
547 """True if marker creation is disabled
548
549 Remove me in the future when obsolete marker is always on."""
550 return self._readonly
551
545 def create(self, transaction, prec, succs=(), flag=0, parents=None,
552 def create(self, transaction, prec, succs=(), flag=0, parents=None,
546 date=None, metadata=None):
553 date=None, metadata=None):
547 """obsolete: add a new obsolete marker
554 """obsolete: add a new obsolete marker
General Comments 0
You need to be logged in to leave comments. Login now