comparison mercurial/util.py @ 2470:fe1689273f84

use demandload more.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 20 Jun 2006 23:58:21 -0700
parents b77a2ef61b81
children 6904e1ef8ad1
comparison
equal deleted inserted replaced
2459:5c5277f03887 2470:fe1689273f84
8 8
9 This contains helper routines that are independent of the SCM core and hide 9 This contains helper routines that are independent of the SCM core and hide
10 platform-specific details from the core. 10 platform-specific details from the core.
11 """ 11 """
12 12
13 import os, errno
14 from i18n import gettext as _ 13 from i18n import gettext as _
15 from demandload import * 14 from demandload import *
16 demandload(globals(), "cStringIO errno popen2 re shutil sys tempfile") 15 demandload(globals(), "cStringIO errno popen2 re shutil sys tempfile")
17 demandload(globals(), "threading time") 16 demandload(globals(), "os threading time")
18 17
19 class SignalInterrupt(Exception): 18 class SignalInterrupt(Exception):
20 """Exception raised on SIGTERM and SIGHUP.""" 19 """Exception raised on SIGTERM and SIGHUP."""
21 20
22 def pipefilter(s, cmd): 21 def pipefilter(s, cmd):