Changeset 20915a7b9e07…
Parent 6438c214fed6…
by
Changes to one file · Browse files at 20915a7b9e07 Showing diff from parent 6438c214fed6 Diff from another changeset...
@@ -1120,10 +1120,10 @@ elif self.merging:
resp = gdialog.CustomPrompt(_('Which parent to revert to?'),
_('Revert file(s) to local or other parent?'),
- self, (_('&local'), _('&other')), _('l')).run()
- if resp == ord(_('l')):
+ self, (_('&local'), _('&other')), 0).run()
+ if resp == 0:
revertopts['rev'] = self.repo[None].p1().rev()
- elif resp == ord(_('o')):
+ elif resp == 1:
revertopts['rev'] = self.repo[None].p2().rev()
else:
return
|
Loading...