##// 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:

r4186:08d31e43 default
r4230:c93562fb default
Show More
test-issue352.out
7 lines | 141 B | text/plain | TextLexer
adding he llo
abort: '\n' and '\r' disallowed in filenames
adding he llo
abort: '\n' and '\r' disallowed in filenames
hell
o
nothing changed