mercurial/context.py
changeset 18072 03604f46d48a
parent 18036 8b846dbc57b6
child 18084 ee3b5fb648c7
equal deleted inserted replaced
18071:bea754715961 18072:03604f46d48a
   251 
   251 
   252         Only non-public and non-obsolete changesets may be bumped.
   252         Only non-public and non-obsolete changesets may be bumped.
   253         """
   253         """
   254         return self.rev() in obsmod.getrevs(self._repo, 'bumped')
   254         return self.rev() in obsmod.getrevs(self._repo, 'bumped')
   255 
   255 
       
   256     def divergent(self):
       
   257         """Is a successors of a changeset with multiple possible successors set
       
   258 
       
   259         Only non-public and non-obsolete changesets may be divergent.
       
   260         """
       
   261         return self.rev() in obsmod.getrevs(self._repo, 'divergent')
       
   262 
   256     def _fileinfo(self, path):
   263     def _fileinfo(self, path):
   257         if '_manifest' in self.__dict__:
   264         if '_manifest' in self.__dict__:
   258             try:
   265             try:
   259                 return self._manifest[path], self._manifest.flags(path)
   266                 return self._manifest[path], self._manifest.flags(path)
   260             except KeyError:
   267             except KeyError: