comparison contrib/win32/hgwebdir_wsgi.py @ 29385:aa1d56003872

py3: shift from __future__ import absolute import to beginning (issue5269)
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 20 Jun 2016 23:31:45 +0530
parents c3ed14344cd9
children d22198b4b3dd
comparison
equal deleted inserted replaced
29384:c75c8ea2f573 29385:aa1d56003872
77 # repo2 = c:\your\directory\repo2 77 # repo2 = c:\your\directory\repo2
78 # 78 #
79 # - Restart the web server and see if things are running. 79 # - Restart the web server and see if things are running.
80 # 80 #
81 81
82 from __future__ import absolute_import
83
82 # Configuration file location 84 # Configuration file location
83 hgweb_config = r'c:\your\directory\wsgi.config' 85 hgweb_config = r'c:\your\directory\wsgi.config'
84 86
85 # Global settings for IIS path translation 87 # Global settings for IIS path translation
86 path_strip = 0 # Strip this many path elements off (when using url rewrite) 88 path_strip = 0 # Strip this many path elements off (when using url rewrite)
87 path_prefix = 1 # This many path elements are prefixes (depends on the 89 path_prefix = 1 # This many path elements are prefixes (depends on the
88 # virtual path of the IIS application). 90 # virtual path of the IIS application).
89 91
90 from __future__ import absolute_import
91 import sys 92 import sys
92 93
93 # Adjust python path if this is not a system-wide install 94 # Adjust python path if this is not a system-wide install
94 #sys.path.insert(0, r'C:\your\custom\hg\build\lib.win32-2.7') 95 #sys.path.insert(0, r'C:\your\custom\hg\build\lib.win32-2.7')
95 96