equal
deleted
inserted
replaced
227 |
227 |
228 def troubles(self): |
228 def troubles(self): |
229 """return the list of troubles affecting this changesets. |
229 """return the list of troubles affecting this changesets. |
230 |
230 |
231 Troubles are returned as strings. possible values are: |
231 Troubles are returned as strings. possible values are: |
232 - unstable, |
232 - orphan, |
233 - bumped, |
233 - bumped, |
234 - divergent. |
234 - divergent. |
235 """ |
235 """ |
236 troubles = [] |
236 troubles = [] |
237 if self.unstable(): |
237 if self.unstable(): |
238 troubles.append('unstable') |
238 troubles.append('orphan') |
239 if self.bumped(): |
239 if self.bumped(): |
240 troubles.append('bumped') |
240 troubles.append('bumped') |
241 if self.divergent(): |
241 if self.divergent(): |
242 troubles.append('divergent') |
242 troubles.append('divergent') |
243 return troubles |
243 return troubles |