Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgweb_mod.py @ 18629:013fcd112f13
extensions: obsolete and remove interhg extension
With the addition of the websub filter extension this extension is no longer
needed. We maintain a sort of backwards compatibility by reading the [interhg]
section and using it as we would use the [websub] section.
author | Angel Ezquerra <angel.ezquerra@gmail.com> |
---|---|
date | Sat, 09 Feb 2013 11:00:42 +0100 |
parents | 4e949b8e0930 |
children | 35fb2ef52a39 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Sat Feb 09 16:48:21 2013 +0100 +++ b/mercurial/hgweb/hgweb_mod.py Sat Feb 09 11:00:42 2013 +0100 @@ -264,6 +264,8 @@ def loadwebsub(self): websubtable = [] websubdefs = self.repo.ui.configitems('websub') + # we must maintain interhg backwards compatibility + websubdefs += self.repo.ui.configitems('interhg') for key, pattern in websubdefs: # grab the delimiter from the character after the "s" unesc = pattern[1]