Mercurial > hg
diff tests/test-context.py.out @ 26294:1ffc61c4e32e
hgweb: overwrite cwd to resolve file patterns relative to repo (issue4568)
It's useless to handle file patterns as relative to the cwd of the server
process. The only sensible way in hgweb is to resolve paths relative to the
repository root.
It seems dirstate.getcwd() isn't used to get a real file path, so this patch
won't cause problem.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sun, 20 Sep 2015 20:11:31 +0900 |
parents | bfce25d25c96 |
children | 59aec562a50b |