mercurial/util.py
changeset 8312 b87a50b7125c
parent 8309 4ff63d699256
child 8327 aa25be1c2889
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):