Commits

Friedrich Kastner-Masilko  committed d39bbd3

Fixed makewritable extension for Mercurial 1.3

  • Participants
  • Parent commits 0fc14be

Comments (0)

Files changed (1)

File makewritable.py

                 doit = self.makewritable
                 if not doit:
                     while True:
-                        r = (self.currentUi.prompt(_('make \'%s\' writable?') % f + _(' [Yna?] '), '(?i)[Yna?]?$') or 'y').lower()
+                        choices = (_('&Yes, make this file writable'),
+                                   _('&No, leave this file read-only'),
+                                   _('&All, make all remaining files writable without further notice'),
+                                   _('&?'))
+                        r = (self.currentUi.prompt(_('make \'%s\' writable?') % f + _(' [Yna?] '), choices) or 'y').lower()
                         if r == '?':
                             c = opener.__doc__.find('y - make the file writable')
                             for l in opener.__doc__[c:].splitlines():