Mercurial > dotfiles
comparison install.py @ 437:21dd55ac743c
Fix path to Mercurial templates on Windows.
Apparently backslashes in the `--style` parameter don't work well.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 29 Apr 2018 20:16:35 -0700 |
parents | 8986ec3a9c1c |
children | 3d999fcf62c6 |
comparison
equal
deleted
inserted
replaced
436:8986ec3a9c1c | 437:21dd55ac743c |
---|---|
177 'prompt = %s' % _p('lib/hg/hg-prompt/prompt.py'), | 177 'prompt = %s' % _p('lib/hg/hg-prompt/prompt.py'), |
178 'evolve = %s' % _p('lib/hg/mutable-history/hgext3rd/evolve'), | 178 'evolve = %s' % _p('lib/hg/mutable-history/hgext3rd/evolve'), |
179 'terse-status = %s' % _p('lib/hg/terse-status/terse-status.py'), | 179 'terse-status = %s' % _p('lib/hg/terse-status/terse-status.py'), |
180 '[alias]', | 180 '[alias]', |
181 ('dlog = log --pager=yes --style=%s' % | 181 ('dlog = log --pager=yes --style=%s' % |
182 _p('lib/hg/mercurial-cli-templates/map-cmdline.dlog')), | 182 _p('lib/hg/mercurial-cli-templates/map-cmdline.dlog', force_unix=True)), |
183 ('slog = log --pager=yes --style=%s' % | 183 ('slog = log --pager=yes --style=%s' % |
184 _p('lib/hg/mercurial-cli-templates/map-cmdline.slog')), | 184 _p('lib/hg/mercurial-cli-templates/map-cmdline.slog', force_unix=True)), |
185 ('nlog = log --pager=yes --style=%s' % | 185 ('nlog = log --pager=yes --style=%s' % |
186 _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog')), | 186 _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog', force_unix=True)), |
187 ('sglog = glog --pager=yes --style=%s' % | 187 ('sglog = glog --pager=yes --style=%s' % |
188 _p('lib/hg/mercurial-cli-templates/map-cmdline.sglog')), | 188 _p('lib/hg/mercurial-cli-templates/map-cmdline.sglog', force_unix=True)), |
189 ('nglog = log --pager=yes -G --style=%s' % | 189 ('nglog = log --pager=yes -G --style=%s' % |
190 _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog')), | 190 _p('lib/hg/mercurial-cli-templates/map-cmdline.nlog', force_unix=True)), |
191 'wip = glog --pager=yes --style=$DOTFILESPATH/hgrc/wip.style --rev wip' | 191 'wip = glog --pager=yes --style=$DOTFILESPATH/hgrc/wip.style --rev wip' |
192 ]) | 192 ]) |
193 if is_nix: | 193 if is_nix: |
194 print("Building fast-hg-prompt...") | 194 print("Building fast-hg-prompt...") |
195 compile_ok = True | 195 compile_ok = True |