equal
deleted
inserted
replaced
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") |