Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 10249:8ebb34b0f6f7 stable
cmdutil: expand style paths (issue1948)
Fix suggested by Andrea Riciputi <andrea.riciputi@gmail.com>
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 15 Jan 2010 09:50:52 +0100 |
parents | fb45c1e4396f |
children | af24805aa37c 25e572394f5c |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Wed Jan 13 11:53:55 2010 +0100 +++ b/mercurial/cmdutil.py Fri Jan 15 09:50:52 2010 +0100 @@ -1005,7 +1005,7 @@ if tmpl: tmpl = templater.parsestring(tmpl) else: - style = ui.config('ui', 'style') + style = util.expandpath(ui.config('ui', 'style', '')) if not (tmpl or style): return changeset_printer(ui, repo, patch, opts, buffered)