[PATCH] hgweb: fix undefined name RepoError

Brodie Rao dackze at gmail.com
Sun Mar 29 18:18:51 CDT 2009


# HG changeset patch
# User Brodie Rao <me+hg at dackz.net>
# Date 1238167066 14400
# Node ID 514143f391088a33154fe952334f8d369c74c633
# Parent  5a5396f4942015dfde8dd438740b4b13ef6f4ed0
hgweb: fix undefined name RepoError

diff --git a/mercurial/hgweb/server.py b/mercurial/hgweb/server.py
--- a/mercurial/hgweb/server.py
+++ b/mercurial/hgweb/server.py
@@ -275,7 +275,7 @@ def create_server(ui, repo):
 
         def __init__(self, *args, **kwargs):
             if self.address_family is None:
-                raise RepoError(_('IPv6 not available on this system'))
+                raise error.RepoError(_('IPv6 not available on this system'))
             super(IPv6HTTPServer, self).__init__(*args, **kwargs)
 
     if ssl_cert:


More information about the Mercurial-devel mailing list