comparison mercurial/context.py @ 33667:03039ff3082b

evolution: rename unstable to orphan Rename unstable to orphan in all external user-facing output. Only update user-facing output for the moment, variables names, templates keyword and potentially configuration would be done in later series. The renaming is done according to https://www.mercurial-scm.org/wiki/CEDVocabulary. Differential Revision: https://phab.mercurial-scm.org/D214
author Boris Feld <boris.feld@octobus.net>
date Tue, 01 Aug 2017 17:53:48 +0200
parents 7008f6819002
children 2194a8723138
comparison
equal deleted inserted replaced
33666:6f4bc9688ca9 33667:03039ff3082b
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