Fixed 'hg serve --webdir-conf foo' which broke due to split of hgweb.
authorThomas Arendsen Hein <thomas@intevation.de>
Mon, 05 Jun 2006 16:48:24 +0200
changeset 2404 ffc3b2f1ab6a
parent 2403 9b0747207925
child 2405 4593d09e534d
Fixed 'hg serve --webdir-conf foo' which broke due to split of hgweb.
mercurial/hgweb/server.py
--- a/mercurial/hgweb/server.py	Mon Jun 05 12:24:00 2006 +0200
+++ b/mercurial/hgweb/server.py	Mon Jun 05 16:48:24 2006 +0200
@@ -128,7 +128,7 @@
 
         def make_and_run_handler(self, req):
             if self.webdir_conf:
-                hgwebobj = self.webdirmaker(self.server.webdir_conf)
+                hgwebobj = self.webdirmaker(self.webdir_conf)
             elif self.repo is not None:
                 hgwebobj = self.repoviewmaker(repo.__class__(repo.ui,
                                                              repo.origroot))