Mercurial > hg > mercurial-crew-with-dirclash
changeset 3794:630caaf29815
use forward "/" for internal path and static http, fix issue437
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 05 Dec 2006 16:33:40 +0100 |
parents | f3fbf76d043c |
children | bd7011246fab 17a11f4ff260 |
files | mercurial/filelog.py mercurial/statichttprepo.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/filelog.py +++ b/mercurial/filelog.py @@ -12,8 +12,8 @@ demandload(globals(), "os") class filelog(revlog): def __init__(self, opener, path, defversion=REVLOG_DEFAULT_VERSION): revlog.__init__(self, opener, - os.path.join("data", self.encodedir(path + ".i")), - os.path.join("data", self.encodedir(path + ".d")), + "/".join(("data", self.encodedir(path + ".i"))), + "/".join(("data", self.encodedir(path + ".d"))), defversion) # This avoids a collision between a file named foo and a dir named