Show More
@@ -831,7 +831,8 b' class hgweb(object):' | |||||
831 | if not self.reponame: |
|
831 | if not self.reponame: | |
832 | self.reponame = (self.config("web", "name") |
|
832 | self.reponame = (self.config("web", "name") | |
833 | or req.env.get('REPO_NAME') |
|
833 | or req.env.get('REPO_NAME') | |
834 |
or req.url.strip('/') |
|
834 | or req.url.strip('/') | |
|
835 | or os.path.basename(self.repo.root)) | |||
835 |
|
836 | |||
836 | self.t = templater.templater(mapfile, templater.common_filters, |
|
837 | self.t = templater.templater(mapfile, templater.common_filters, | |
837 | defaults={"url": req.url, |
|
838 | defaults={"url": req.url, |
General Comments 0
You need to be logged in to leave comments.
Login now