Show More
@@ -243,6 +243,13 b' class changectx(object):' | |||||
243 | """True if the changeset is not obsolete but it's ancestor are""" |
|
243 | """True if the changeset is not obsolete but it's ancestor are""" | |
244 | return self.rev() in obsmod.getrevs(self._repo, 'unstable') |
|
244 | return self.rev() in obsmod.getrevs(self._repo, 'unstable') | |
245 |
|
245 | |||
|
246 | def bumped(self): | |||
|
247 | """True if the changeset try to be a successor of a public changeset | |||
|
248 | ||||
|
249 | Only non-public and non-obsolete changesets may be bumped. | |||
|
250 | """ | |||
|
251 | return self.rev() in obsmod.getrevs(self._repo, 'bumped') | |||
|
252 | ||||
246 | def _fileinfo(self, path): |
|
253 | def _fileinfo(self, path): | |
247 | if '_manifest' in self.__dict__: |
|
254 | if '_manifest' in self.__dict__: | |
248 | try: |
|
255 | try: |
General Comments 0
You need to be logged in to leave comments.
Login now