diff tests/test-walk.out @ 4230:c93562fb12cc

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.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Fri, 16 Mar 2007 00:22:58 -0300
parents 9d1c3529ebbc
children 0d51eb296fb9
line wrap: on
line diff
--- a/tests/test-walk.out	Fri Mar 16 00:22:57 2007 -0300
+++ b/tests/test-walk.out	Fri Mar 16 00:22:58 2007 -0300
@@ -95,3 +95,6 @@
 m  fenugreek  fenugreek  exact
 m  fenugreek  fenugreek  exact
 f  new  new  exact
+f  mammals/skunk  t/mammals/skunk  exact
+f  mammals/skunk  ../t/mammals/skunk  exact
+f  mammals/skunk  mammals/skunk  exact