##// END OF EJS Templates
Make .hg/hgrc optional for repositories published by hgwebdir.
Thomas Arendsen Hein -
r1170:85555540 default
parent child Browse files
Show More
@@ -960,7 +960,10 b' class hgwebdir:'
960 parity = 0
960 parity = 0
961 for name, path in self.repos:
961 for name, path in self.repos:
962 u = ui()
962 u = ui()
963 u.readconfig(file(os.path.join(path, '.hg', 'hgrc')))
963 try:
964 u.readconfig(file(os.path.join(path, '.hg', 'hgrc')))
965 except IOError:
966 pass
964 get = u.config
967 get = u.config
965
968
966 url = ('/'.join([req.env["REQUEST_URI"], name])
969 url = ('/'.join([req.env["REQUEST_URI"], name])
General Comments 0
You need to be logged in to leave comments. Login now