tests/test-empty
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 16 Mar 2007 00:22:58 -0300
changeset 4230 c93562fb12cc
parent 1338 2b77ea66fe70
permissions -rwxr-xr-x
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.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1338
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     1
#!/bin/sh
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     2
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     3
hg init
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     4
hg log
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     5
hg grep wah
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     6
hg manifest
2b77ea66fe70 Add empty repo test
mpm@selenic.com
parents:
diff changeset
     7
hg verify