# HG changeset patch # User Ludovic Chabant # Date 1525058195 25200 # Node ID 21dd55ac743c05002bfe49d9190e7a24402a1d27 # Parent 8986ec3a9c1c2851e800a5169aa8a46455ea7b59 Fix path to Mercurial templates on Windows. Apparently backslashes in the `--style` parameter don't work well. diff -r 8986ec3a9c1c -r 21dd55ac743c install.py --- a/install.py Sun Apr 15 20:32:59 2018 -0700 +++ b/install.py Sun Apr 29 20:16:35 2018 -0700 @@ -179,15 +179,15 @@ 'terse-status = %s' % _p('lib/hg/terse-status/terse-status.py'), '[alias]', ('dlog = log --pager=yes --style=%s' % - _p('lib/hg/mercurial-cli-templates/map-cmdline.dlog')), + _p('lib/hg/mercurial-cli-templates/map-cmdline.dlog', force_unix=True)), ('slog = log --pager=yes --style=%s' % - _p('lib/hg/mercurial-cli-templates/map-cmdline.slog')), + _p('lib/hg/mercurial-cli-templates/map-cmdline.slog', force_unix=True)), ('nlog = log --pager=yes --style=%s' % - _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog')), + _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog', force_unix=True)), ('sglog = glog --pager=yes --style=%s' % - _p('lib/hg/mercurial-cli-templates/map-cmdline.sglog')), + _p('lib/hg/mercurial-cli-templates/map-cmdline.sglog', force_unix=True)), ('nglog = log --pager=yes -G --style=%s' % - _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog')), + _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog', force_unix=True)), 'wip = glog --pager=yes --style=$DOTFILESPATH/hgrc/wip.style --rev wip' ]) if is_nix: