equal
deleted
inserted
replaced
222 def phasedivergent(self): |
222 def phasedivergent(self): |
223 """True if the changeset try to be a successor of a public changeset |
223 """True if the changeset try to be a successor of a public changeset |
224 |
224 |
225 Only non-public and non-obsolete changesets may be bumped. |
225 Only non-public and non-obsolete changesets may be bumped. |
226 """ |
226 """ |
227 return self.rev() in obsmod.getrevs(self._repo, 'bumped') |
227 return self.rev() in obsmod.getrevs(self._repo, 'phasedivergent') |
228 |
228 |
229 def divergent(self): |
229 def divergent(self): |
230 msg = ("'context.divergent' is deprecated, " |
230 msg = ("'context.divergent' is deprecated, " |
231 "use 'context.contentdivergent'") |
231 "use 'context.contentdivergent'") |
232 self._repo.ui.deprecwarn(msg, '4.4') |
232 self._repo.ui.deprecwarn(msg, '4.4') |