##// END OF EJS Templates
Fix handling of paths when run outside the repo....
Fix handling of paths when run outside the repo. The main problem was that dirstate.getcwd() returned just "", which was interpreted as "we're at the repo root". It now returns an absolute path. The util.pathto function was also changed to deal with the "cwd is an absolute path" case.

File last commit:

r2992:4e815ee3 default
r4230:c93562fb default
Show More
test-strict
18 lines | 209 B | text/plain | TextLexer
Bryan O'Sullivan
Add ui.strict config item....
r2988 #!/bin/sh
hg init
echo a > a
hg ci -d '0 0' -Ama
hg an a
Thomas Arendsen Hein
Make test-strict append to $HGRCPATH, like other tests do since 61fcd9fac434.
r2992 echo "[ui]" >> $HGRCPATH
echo "strict=True" >> $HGRCPATH
Bryan O'Sullivan
Add ui.strict config item....
r2988
hg an a
hg annotate a
echo % should succeed - up is an alias, not an abbreviation
hg up