Mercurial > public > mercurial-scm > hg
comparison mercurial/util.py @ 1400:cf9a1233738a
i18n first part: make '_' available for files who need it
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org |
---|---|
date | Tue, 18 Oct 2005 18:37:48 -0700 |
parents | 9a70776e355e |
children | 9d2c2e6b32b5 |
comparison
equal
deleted
inserted
replaced
1399:9a70776e355e | 1400:cf9a1233738a |
---|---|
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 | 13 import os, errno |
14 from i18n import gettext as _ | |
14 from demandload import * | 15 from demandload import * |
15 demandload(globals(), "re cStringIO shutil popen2 tempfile threading time") | 16 demandload(globals(), "re cStringIO shutil popen2 tempfile threading time") |
16 | 17 |
17 def pipefilter(s, cmd): | 18 def pipefilter(s, cmd): |
18 '''filter string S through command CMD, returning its output''' | 19 '''filter string S through command CMD, returning its output''' |