equal
deleted
inserted
replaced
6536 if obsolete.isenabled(repo, obsolete.createmarkersopt): |
6536 if obsolete.isenabled(repo, obsolete.createmarkersopt): |
6537 for trouble in ("unstable", "divergent", "bumped"): |
6537 for trouble in ("unstable", "divergent", "bumped"): |
6538 numtrouble = len(repo.revs(trouble + "()")) |
6538 numtrouble = len(repo.revs(trouble + "()")) |
6539 # We write all the possibilities to ease translation |
6539 # We write all the possibilities to ease translation |
6540 troublemsg = { |
6540 troublemsg = { |
6541 "unstable": _("unstable: %d changeset"), |
6541 "unstable": _("unstable: %d changesets"), |
6542 "divergent": _("divergent: %d changeset"), |
6542 "divergent": _("divergent: %d changesets"), |
6543 "bumped": _("bumped: %d changeset"), |
6543 "bumped": _("bumped: %d changesets"), |
6544 } |
6544 } |
6545 if numtrouble > 0: |
6545 if numtrouble > 0: |
6546 ui.status(troublemsg[trouble] % numtrouble + "\n") |
6546 ui.status(troublemsg[trouble] % numtrouble + "\n") |
6547 |
6547 |
6548 cmdutil.summaryhooks(ui, repo) |
6548 cmdutil.summaryhooks(ui, repo) |