Changeset 1392bbfc04ca…
Parent a90ac18314da…
by
Changes to one file · Browse files at 1392bbfc04ca Showing diff from parent a90ac18314da Diff from another changeset...
@@ -1063,6 +1063,14 @@ break
except (IOError, OSError):
pass
+ else:
+ gdialog.Prompt(_('Unable to create a Mercurial.ini file'),
+ _('Insufficient access rights, reverting to read-only'
+ 'mode.'), self).run()
+ from mercurial import config
+ self.fn = rcpath[0]
+ cfg = config.config()
+ return cfg
self.fn = fn
try:
import iniparse
|
Loading...