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

r3918:a413f5c2 default
r4230:c93562fb default
Show More
test-hup
13 lines | 159 B | text/plain | TextLexer
Matt Mackall
Update tests
r642 #!/bin/sh
hg init
mkfifo p
hg serve --stdio < p &
P=$!
(echo lock; echo addchangegroup; sleep 5) > p &
Q=$!
Sascha Wilde
Some systems are slower ... give 'em some time/
r2529 sleep 3
Matt Mackall
Update tests
r642 kill -HUP $P
Thomas Arendsen Hein
Exit test-hup only after the background process has died....
r2088 wait
Thomas Arendsen Hein
Fix test-hup for different output of ls on at least MacOS X and Solaris 8.
r3918 echo .hg/* .hg/store/*