##// END OF EJS Templates
revlog: introduce a `display_id` property...
marmoute -
r47924:fbf38517 default
parent child Browse files
Show More
@@ -593,6 +593,13 b' class revlog(object):'
593 return self.target[0]
593 return self.target[0]
594
594
595 @util.propertycache
595 @util.propertycache
596 def display_id(self):
597 """The public facing "ID" of the revlog that we use in message"""
598 # Maybe we should build a user facing representation of
599 # revlog.target instead of using `self.radix`
600 return self.radix
601
602 @util.propertycache
596 def _compressor(self):
603 def _compressor(self):
597 engine = util.compengines[self._compengine]
604 engine = util.compengines[self._compengine]
598 return engine.revlogcompressor(self._compengineopts)
605 return engine.revlogcompressor(self._compengineopts)
General Comments 0
You need to be logged in to leave comments. Login now