annotate templates/raw/header.tmpl @ 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 713e35dcc321
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3782
713e35dcc321 hgweb: report detected character set
Matt Mackall <mpm@selenic.com>
parents: 3228
diff changeset
1 Content-type: text/plain; charset={encoding}
713e35dcc321 hgweb: report detected character set
Matt Mackall <mpm@selenic.com>
parents: 3228
diff changeset
2