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

r3841:aaeb7f5d default
r4230:c93562fb default
Show More
test-clone-failure.out
12 lines | 250 B | text/plain | TextLexer
/ tests / test-clone-failure.out
Thomas Arendsen Hein
Better error message (without /.hg appended) when repository is not found....
r1588 abort: repository a not found!
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
mpm@selenic.com
Fix up test results...
r775 abort: error: Connection refused
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
Thomas Arendsen Hein
Better error message (without /.hg appended) when repository is not found....
r1588 abort: repository a not found!
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
abort: destination '../a' already exists
Thomas Arendsen Hein
Never exit directly from commands.dispatch(), but pass return code to caller....
r2057 255
Thomas Arendsen Hein
Better error message (without /.hg appended) when repository is not found....
r1588 abort: repository a not found!
mpm@selenic.com
[PATCH] Tests for clone command...
r550 255
Thomas Arendsen Hein
Show the destionation for clone if not specified manually.
r3841 destination directory: q
mpm@selenic.com
[PATCH] Tests for clone command...
r550 abort: destination 'q' already exists