py3: shift from __future__ import absolute import to beginning (
issue5269)
--- a/contrib/win32/hgwebdir_wsgi.py Mon Jun 20 23:24:55 2016 +0200
+++ b/contrib/win32/hgwebdir_wsgi.py Mon Jun 20 23:31:45 2016 +0530
@@ -79,6 +79,8 @@
# - Restart the web server and see if things are running.
#
+from __future__ import absolute_import
+
# Configuration file location
hgweb_config = r'c:\your\directory\wsgi.config'
@@ -87,7 +89,6 @@
path_prefix = 1 # This many path elements are prefixes (depends on the
# virtual path of the IIS application).
-from __future__ import absolute_import
import sys
# Adjust python path if this is not a system-wide install