mercurial/cmdutil.py
branchstable
changeset 10249 8ebb34b0f6f7
parent 10025 fb45c1e4396f
child 10250 af24805aa37c
child 10263 25e572394f5c
equal deleted inserted replaced
10243:cd3e5c47d663 10249:8ebb34b0f6f7
  1003     if not (tmpl or style):
  1003     if not (tmpl or style):
  1004         tmpl = ui.config('ui', 'logtemplate')
  1004         tmpl = ui.config('ui', 'logtemplate')
  1005         if tmpl:
  1005         if tmpl:
  1006             tmpl = templater.parsestring(tmpl)
  1006             tmpl = templater.parsestring(tmpl)
  1007         else:
  1007         else:
  1008             style = ui.config('ui', 'style')
  1008             style = util.expandpath(ui.config('ui', 'style', ''))
  1009 
  1009 
  1010     if not (tmpl or style):
  1010     if not (tmpl or style):
  1011         return changeset_printer(ui, repo, patch, opts, buffered)
  1011         return changeset_printer(ui, repo, patch, opts, buffered)
  1012 
  1012 
  1013     mapfile = None
  1013     mapfile = None