comparison mercurial/context.py @ 33689:9c27a2891b75

evolution: rename bumped to phase-divergent Rename bumped to phase-divergent 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/D216
author Boris Feld <boris.feld@octobus.net>
date Tue, 01 Aug 2017 18:07:34 +0200
parents 2194a8723138
children ab0c55c2ad9a
comparison
equal deleted inserted replaced
33688:2194a8723138 33689:9c27a2891b75
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 - orphan, 232 - orphan,
233 - bumped, 233 - phase-divergent,
234 - content-divergent. 234 - content-divergent.
235 """ 235 """
236 troubles = [] 236 troubles = []
237 if self.unstable(): 237 if self.unstable():
238 troubles.append('orphan') 238 troubles.append('orphan')
239 if self.bumped(): 239 if self.bumped():
240 troubles.append('bumped') 240 troubles.append('phase-divergent')
241 if self.divergent(): 241 if self.divergent():
242 troubles.append('content-divergent') 242 troubles.append('content-divergent')
243 return troubles 243 return troubles
244 244
245 def parents(self): 245 def parents(self):