Mercurial > hg > mercurial-crew-with-dirclash
comparison mercurial/hgweb.py @ 1864:7a09785d3237
Fix manifest view on Windows
author | Lee Cantey <lcantey@gmail.com> |
---|---|
date | Wed, 08 Mar 2006 11:20:39 -0800 |
parents | 24881eaebee3 |
children | b7cc0f323a4c |
comparison
equal
deleted
inserted
replaced
1860:97f07d311a50 | 1864:7a09785d3237 |
---|---|
849 # tags -> list of changesets corresponding to tags | 849 # tags -> list of changesets corresponding to tags |
850 # find tag, changeset, file | 850 # find tag, changeset, file |
851 | 851 |
852 def run(self, req=hgrequest()): | 852 def run(self, req=hgrequest()): |
853 def clean(path): | 853 def clean(path): |
854 p = os.path.normpath(path) | 854 p = util.normpath(path) |
855 if p[:2] == "..": | 855 if p[:2] == "..": |
856 raise "suspicious path" | 856 raise "suspicious path" |
857 return p | 857 return p |
858 | 858 |
859 def header(**map): | 859 def header(**map): |