comparison mercurial/commands.py @ 33774:9dcc3529e002

revset: rename unstable into orphan Don't touch unstable volatile set name, only the revset name. The volatile set name will be updated in a later patch. The renaming is done according to https://www.mercurial-scm.org/wiki/CEDVocabulary. Differential Revision: https://phab.mercurial-scm.org/D250
author Boris Feld <boris.feld@octobus.net>
date Thu, 03 Aug 2017 13:48:39 +0200
parents d434a7f0685c
children f078d7358e90
comparison
equal deleted inserted replaced
33773:6c1a9fd8361b 33774:9dcc3529e002
4990 4990
4991 if draft or secret: 4991 if draft or secret:
4992 ui.status(_('phases: %s\n') % ', '.join(t)) 4992 ui.status(_('phases: %s\n') % ', '.join(t))
4993 4993
4994 if obsolete.isenabled(repo, obsolete.createmarkersopt): 4994 if obsolete.isenabled(repo, obsolete.createmarkersopt):
4995 for trouble in ("unstable", "divergent", "bumped"): 4995 for trouble in ("orphan", "divergent", "bumped"):
4996 numtrouble = len(repo.revs(trouble + "()")) 4996 numtrouble = len(repo.revs(trouble + "()"))
4997 # We write all the possibilities to ease translation 4997 # We write all the possibilities to ease translation
4998 troublemsg = { 4998 troublemsg = {
4999 "unstable": _("orphan: %d changesets"), 4999 "orphan": _("orphan: %d changesets"),
5000 "divergent": _("content-divergent: %d changesets"), 5000 "divergent": _("content-divergent: %d changesets"),
5001 "bumped": _("phase-divergent: %d changesets"), 5001 "bumped": _("phase-divergent: %d changesets"),
5002 } 5002 }
5003 if numtrouble > 0: 5003 if numtrouble > 0:
5004 ui.status(troublemsg[trouble] % numtrouble + "\n") 5004 ui.status(troublemsg[trouble] % numtrouble + "\n")