Esempio n. 1
0
 def unstable(self):
     """True if the changeset is not obsolete but it's ancestor are"""
     return self.rev() in obsmod.getrevs(self._repo, 'unstable')
Esempio n. 2
0
    def bumped(self):
        """True if the changeset try to be a successor of a public changeset

        Only non-public and non-obsolete changesets may be bumped.
        """
        return self.rev() in obsmod.getrevs(self._repo, 'bumped')
Esempio n. 3
0
 def obsolete(self):
     """True if the changeset is obsolete"""
     return self.rev() in obsmod.getrevs(self._repo, 'obsolete')
Esempio n. 4
0
 def extinct(self):
     """True if the changeset is extinct"""
     return self.rev() in obsmod.getrevs(self._repo, 'extinct')
Esempio n. 5
0
    def bumped(self):
        """True if the changeset try to be a successor of a public changeset

        Only non-public and non-obsolete changesets may be bumped.
        """
        return self.rev() in obsmod.getrevs(self._repo, 'bumped')
Esempio n. 6
0
    def divergent(self):
        """Is a successors of a changeset with multiple possible successors set

        Only non-public and non-obsolete changesets may be divergent.
        """
        return self.rev() in obsmod.getrevs(self._repo, 'divergent')
Esempio n. 7
0
 def unstable(self):
     """True if the changeset is not obsolete but it's ancestor are"""
     return self.rev() in obsmod.getrevs(self._repo, 'unstable')
Esempio n. 8
0
 def extinct(self):
     """True if the changeset is extinct"""
     return self.rev() in obsmod.getrevs(self._repo, 'extinct')
Esempio n. 9
0
 def obsolete(self):
     """True if the changeset is obsolete"""
     return self.rev() in obsmod.getrevs(self._repo, 'obsolete')
Esempio n. 10
0
    def divergent(self):
        """Is a successors of a changeset with multiple possible successors set

        Only non-public and non-obsolete changesets may be divergent.
        """
        return self.rev() in obsmod.getrevs(self._repo, 'divergent')
Esempio n. 11
0
def hideablerevs(repo):
    """Revisions candidates to be hidden

    This is a standalone function to help extensions to wrap it."""
    return obsolete.getrevs(repo, 'obsolete')