comparison mercurial/windows.py @ 27360:6daa795ed32f

windows: use absolute_import
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 12 Dec 2015 23:19:38 -0800
parents 3686fa2b8eee
children 912255f8f087
comparison
equal deleted inserted replaced
27359:a56c47ed3885 27360:6daa795ed32f
3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others 3 # Copyright 2005-2009 Matt Mackall <mpm@selenic.com> and others
4 # 4 #
5 # This software may be used and distributed according to the terms of the 5 # This software may be used and distributed according to the terms of the
6 # GNU General Public License version 2 or any later version. 6 # GNU General Public License version 2 or any later version.
7 7
8 from i18n import _ 8 from __future__ import absolute_import
9 import osutil, encoding 9
10 import errno, msvcrt, os, re, stat, sys, _winreg 10 import _winreg
11 11 import errno
12 import msvcrt
13 import os
14 import re
15 import stat
16 import sys
12 import win32 17 import win32
18
19 from .i18n import _
20 from . import (
21 encoding,
22 osutil,
23 )
24
13 executablepath = win32.executablepath 25 executablepath = win32.executablepath
14 getuser = win32.getuser 26 getuser = win32.getuser
15 hidewindow = win32.hidewindow 27 hidewindow = win32.hidewindow
16 makedir = win32.makedir 28 makedir = win32.makedir
17 nlinks = win32.nlinks 29 nlinks = win32.nlinks