mercurial/commands.py
changeset 31201 50d76bae15cf
parent 31200 426b3d1e82d0
child 31311 f59b6cf663a9
equal deleted inserted replaced
31200:426b3d1e82d0 31201:50d76bae15cf
  1794             fp.write(samplehgrc)
  1794             fp.write(samplehgrc)
  1795             fp.close()
  1795             fp.close()
  1796 
  1796 
  1797         editor = ui.geteditor()
  1797         editor = ui.geteditor()
  1798         ui.system("%s \"%s\"" % (editor, f),
  1798         ui.system("%s \"%s\"" % (editor, f),
  1799                   onerr=error.Abort, errprefix=_("edit failed"))
  1799                   onerr=error.Abort, errprefix=_("edit failed"),
       
  1800                   blockedtag='config_edit')
  1800         return
  1801         return
  1801     ui.pager('config')
  1802     ui.pager('config')
  1802     fm = ui.formatter('config', opts)
  1803     fm = ui.formatter('config', opts)
  1803     for f in scmutil.rcpath():
  1804     for f in scmutil.rcpath():
  1804         ui.debug('read config from: %s\n' % f)
  1805         ui.debug('read config from: %s\n' % f)