Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/patch.py @ 3378:1106e00e6847
Add popen2 demandload to patch.py, required by diffstat
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Thu, 12 Oct 2006 16:34:32 -0700 |
parents | fd43ff3b4442 |
children | 2065789f6a3e |
comparison
equal
deleted
inserted
replaced
3377:9fe62e2db71d | 3378:1106e00e6847 |
---|---|
7 | 7 |
8 from demandload import demandload | 8 from demandload import demandload |
9 from i18n import gettext as _ | 9 from i18n import gettext as _ |
10 from node import * | 10 from node import * |
11 demandload(globals(), "base85 cmdutil mdiff util") | 11 demandload(globals(), "base85 cmdutil mdiff util") |
12 demandload(globals(), "cStringIO email.Parser errno os re shutil sha sys") | 12 demandload(globals(), "cStringIO email.Parser errno os popen2 re shutil sha") |
13 demandload(globals(), "tempfile zlib") | 13 demandload(globals(), "sys tempfile zlib") |
14 | 14 |
15 # helper functions | 15 # helper functions |
16 | 16 |
17 def copyfile(src, dst, basedir=None): | 17 def copyfile(src, dst, basedir=None): |
18 if not basedir: | 18 if not basedir: |