mercurial/utils/__init__.py
author Gregory Szorc <gregory.szorc@gmail.com>
Fri, 23 Mar 2018 11:20:13 -0700
changeset 37093 db114320df7e
parent 36607 c6061cadb400
permissions -rw-r--r--
hgweb: don't responsd to api requests unless feature is enabled Per discussion at https://phab.mercurial-scm.org/D2834, new URLs in hgweb can conflict with subrepos and virtual repos. This may prevent access to repos in certain paths or having certain names. Until we have a workaround for this, let's not serve requests for "api/" URLs unless the feature is enabled. Differential Revision: https://phab.mercurial-scm.org/D2936
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: