##// END OF EJS Templates
config: activate pager if not starting an editor...
Augie Fackler -
r31034:270ab9d2 default
parent child Browse files
Show More
@@ -1792,7 +1792,7 b' def config(ui, repo, *values, **opts):'
1792 ui.system("%s \"%s\"" % (editor, f),
1792 ui.system("%s \"%s\"" % (editor, f),
1793 onerr=error.Abort, errprefix=_("edit failed"))
1793 onerr=error.Abort, errprefix=_("edit failed"))
1794 return
1794 return
1795
1795 ui.pager('config')
1796 fm = ui.formatter('config', opts)
1796 fm = ui.formatter('config', opts)
1797 for f in scmutil.rcpath():
1797 for f in scmutil.rcpath():
1798 ui.debug('read config from: %s\n' % f)
1798 ui.debug('read config from: %s\n' % f)
General Comments 0
You need to be logged in to leave comments. Login now