changeset 2404:ffc3b2f1ab6a

Fixed 'hg serve --webdir-conf foo' which broke due to split of hgweb.
author Thomas Arendsen Hein <thomas@intevation.de>
date Mon, 05 Jun 2006 16:48:24 +0200
parents 9b0747207925
children 4593d09e534d
files mercurial/hgweb/server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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))