Mercurial > hg-stable
view tests/test-bad-extension @ 3347:bce7c1b4c1c8
ui.py: normalize settings every time the configuration changes
Previously, we would normalize settings (e.g. turn relative paths into
absolute ones) only after reading a config file.
Now "--config paths.foo=bar" will use the cwd to make "bar" an absolute
path.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Tue, 10 Oct 2006 18:43:20 -0300 |
parents | 01454af644b8 |
children | 96e21337dc03 |
line wrap: on
line source
#!/bin/sh echo 'syntax error' > badext.py abspath=`pwd`/badext.py echo '[extensions]' >> $HGRCPATH echo "badext = $abspath" >> $HGRCPATH hg -q help help