Changeset 30b5e85be646…
Parent 7410ae2af49a…
by
Changes to one file · Browse files at 30b5e85be646 Showing diff from parent 7410ae2af49a Diff from another changeset...
@@ -408,7 +408,7 @@ layout.addWidget(bb)
def saveInRepo(self):
- fn = os.path.join(self.root, '.hg', 'hgrc')
+ fn = os.path.join(self.repo.root, '.hg', 'hgrc')
self.saveToPath([fn])
def saveGlobal(self):
@@ -427,7 +427,7 @@ def saveToPath(self, path):
fn, cfg = loadIniFile(path, self)
if not hasattr(cfg, 'write'):
- qtlib.WarningMsgBox(_('Unable to save authentication'),
+ qtlib.WarningMsgBox(_('Unable to save post pull operation'),
_('Iniparse must be installed.'), parent=self)
return
if fn is None:
@@ -438,8 +438,6 @@ except IOError, e:
qtlib.WarningMsgBox(_('Unable to write configuration file'),
hglib.tounicode(e), parent=self)
- fn = os.path.join(self.root, '.hg', 'hgrc')
- fn, cfg = loadIniFile([fn], self)
super(PostPullDialog, self).accept()
def reject(self):
@@ -600,8 +598,6 @@ except IOError, e:
qtlib.WarningMsgBox(_('Unable to write configuration file'),
hglib.tounicode(e), parent=self)
- fn = os.path.join(self.root, '.hg', 'hgrc')
- fn, cfg = loadIniFile([fn], self)
super(AuthDialog, self).accept()
def reject(self):
|
Loading...