comparison contrib/hg-ssh @ 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 9a5b778f7e2d
children 831ebc408ffb
comparison
equal deleted inserted replaced
4229:24c22a3f2ef8 4230:c93562fb12cc