Yuya Nishihara  committed 8cf451b

revert: don't translate message in ValueError

It won't be visible to users.

  • Participants
  • Parent commits 352e194

Comments (0)

Files changed (1)

File tortoisehg/hgqt/

 class RevertDialog(QDialog):
     def __init__(self, repo, wfiles, rev, parent):
         if rev is None:
-            raise ValueError(_('Cannot revert to working directory'))
+            raise ValueError('Cannot revert to working directory')
         super(RevertDialog, self).__init__(parent)
         self.setWindowTitle(_('Revert - %s') % repo.displayname)