mercurial/context.py
changeset 48765 d5121df04808
parent 48694 576040155dba
child 48966 6000f5b25c9b
equal deleted inserted replaced
48764:2e949ede7350 48765:d5121df04808
   681         return self._repo.nodetags(self._node)
   681         return self._repo.nodetags(self._node)
   682 
   682 
   683     def bookmarks(self):
   683     def bookmarks(self):
   684         """Return a list of byte bookmark names."""
   684         """Return a list of byte bookmark names."""
   685         return self._repo.nodebookmarks(self._node)
   685         return self._repo.nodebookmarks(self._node)
       
   686 
       
   687     def fast_rank(self):
       
   688         repo = self._repo
       
   689         if self._maybe_filtered:
       
   690             cl = repo.changelog
       
   691         else:
       
   692             cl = repo.unfiltered().changelog
       
   693         return cl.fast_rank(self._rev)
   686 
   694 
   687     def phase(self):
   695     def phase(self):
   688         return self._repo._phasecache.phase(self._repo, self._rev)
   696         return self._repo._phasecache.phase(self._repo, self._rev)
   689 
   697 
   690     def hidden(self):
   698     def hidden(self):