Show More
@@ -623,10 +623,10 b' class localrepository(repo.repository):' | |||||
623 | if len(args) >= 3 and self.ui.verbose: |
|
623 | if len(args) >= 3 and self.ui.verbose: | |
624 | desc = _("rolling back to revision %s" |
|
624 | desc = _("rolling back to revision %s" | |
625 | " (undo %s: %s)\n") % ( |
|
625 | " (undo %s: %s)\n") % ( | |
626 | args[0], args[1], args[2]) |
|
626 | int(args[0]) - 1, args[1], args[2]) | |
627 | elif len(args) >= 2: |
|
627 | elif len(args) >= 2: | |
628 | desc = _("rolling back to revision %s (undo %s)\n") % ( |
|
628 | desc = _("rolling back to revision %s (undo %s)\n") % ( | |
629 | args[0], args[1]) |
|
629 | int(args[0]) - 1, args[1]) | |
630 | except IOError: |
|
630 | except IOError: | |
631 | desc = _("rolling back unknown transaction\n") |
|
631 | desc = _("rolling back unknown transaction\n") | |
632 | self.ui.status(desc) |
|
632 | self.ui.status(desc) |
General Comments 0
You need to be logged in to leave comments.
Login now