comparison mercurial/util.py @ 8312:b87a50b7125c

separate import lines from mercurial and general python modules
author Simon Heimberg <simohe@besonet.ch>
date Tue, 28 Apr 2009 17:40:46 +0200
parents 4ff63d699256
children aa25be1c2889
comparison
equal deleted inserted replaced
8311:e0eb03bfa5af 8312:b87a50b7125c
12 This contains helper routines that are independent of the SCM core and 12 This contains helper routines that are independent of the SCM core and
13 hide platform-specific details from the core. 13 hide platform-specific details from the core.
14 """ 14 """
15 15
16 from i18n import _ 16 from i18n import _
17 import cStringIO, errno, re, shutil, sys, tempfile, traceback, error 17 import error, osutil
18 import os, stat, threading, time, calendar, glob, osutil, random 18 import cStringIO, errno, re, shutil, sys, tempfile, traceback
19 import os, stat, threading, time, calendar, glob, random
19 import imp 20 import imp
20 21
21 # Python compatibility 22 # Python compatibility
22 23
23 def sha1(s): 24 def sha1(s):