diff -r afc84a879ac8 -r 053c042118bc mercurial/localrepo.py --- a/mercurial/localrepo.py Mon Feb 21 23:27:45 2011 +0100 +++ b/mercurial/localrepo.py Mon Feb 21 20:58:54 2011 -0300 @@ -742,9 +742,13 @@ self.invalidate() self.dirstate.invalidate() self.destroyed() - self.ui.status(_("working directory now based on " - "revision %s\n") % ( - _(' and ').join(str(p.rev()) for p in self.parents()))) + parents = tuple([p.rev() for p in self.parents()]) + if len(parents) > 1: + self.ui.status(_("working directory now based on " + "revisions %d and %d\n") % parents) + else: + self.ui.status(_("working directory now based on " + "revision %d\n") % parents) else: self.ui.warn(_("no rollback information available\n")) return 1