Show More
@@ -49,7 +49,7 b' def offset_type(offset, type):' | |||
|
49 | 49 | class BaseIndexObject(object): |
|
50 | 50 | @property |
|
51 | 51 | def nodemap(self): |
|
52 |
msg = "index.nodemap is deprecated, |
|
|
52 | msg = b"index.nodemap is deprecated, use index.[has_node|rev|get_rev]" | |
|
53 | 53 | util.nouideprecwarn(msg, b'5.3', stacklevel=2) |
|
54 | 54 | return self._nodemap |
|
55 | 55 |
@@ -207,7 +207,7 b' indexformatv0_unpack = indexformatv0.unp' | |||
|
207 | 207 | class revlogoldindex(list): |
|
208 | 208 | @property |
|
209 | 209 | def nodemap(self): |
|
210 |
msg = "index.nodemap is deprecated, |
|
|
210 | msg = b"index.nodemap is deprecated, use index.[has_node|rev|get_rev]" | |
|
211 | 211 | util.nouideprecwarn(msg, b'5.3', stacklevel=2) |
|
212 | 212 | return self._nodemap |
|
213 | 213 | |
@@ -657,15 +657,15 b' class revlog(object):' | |||
|
657 | 657 | @property |
|
658 | 658 | def nodemap(self): |
|
659 | 659 | msg = ( |
|
660 | "revlog.nodemap is deprecated, " | |
|
661 | "use revlog.index.[has_node|rev|get_rev]" | |
|
660 | b"revlog.nodemap is deprecated, " | |
|
661 | b"use revlog.index.[has_node|rev|get_rev]" | |
|
662 | 662 | ) |
|
663 | 663 | util.nouideprecwarn(msg, b'5.3', stacklevel=2) |
|
664 | 664 | return self.index.nodemap |
|
665 | 665 | |
|
666 | 666 | @property |
|
667 | 667 | def _nodecache(self): |
|
668 | msg = "revlog._nodecache is deprecated, use revlog.index.nodemap" | |
|
668 | msg = b"revlog._nodecache is deprecated, use revlog.index.nodemap" | |
|
669 | 669 | util.nouideprecwarn(msg, b'5.3', stacklevel=2) |
|
670 | 670 | return self.index.nodemap |
|
671 | 671 |
General Comments 0
You need to be logged in to leave comments.
Login now