Changeset e8c481854f07…
Parent be9114b959cc…
by
Changes to one file · Browse files at e8c481854f07 Showing diff from parent be9114b959cc Diff from another changeset...
@@ -194,7 +194,7 @@ for v in history[cpath]:
vlist.append([v])
- history = shlib.read_history()
+ history = shlib.Settings('config_history')
try:
repo = hg.repository(ui.ui(), path=self.root)
self.repo = repo
@@ -281,12 +281,12 @@ self._refresh(False)
return
- history = shlib.read_history()
+ history = shlib.Settings('config_history')
record_new_value('email.to', history, totext)
record_new_value('email.cc', history, cctext)
record_new_value('email.from', history, fromtext)
record_new_value('email.subject', history, subjtext)
- shlib.save_history(history)
+ history.write()
cmdline = ['hg', 'email', '-f', fromtext, '-t', totext, '-c', cctext]
cmdline += ['--repository', self.repo.root]
|
Loading...