Mercurial > hg
comparison mercurial/patch.py @ 2951:5ddf7d305a27
add missing import of errno
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Thu, 17 Aug 2006 21:13:35 +0300 |
parents | 773c5b82d052 |
children | 6ba3409f9725 |
comparison
equal
deleted
inserted
replaced
2930:af71034aac90 | 2951:5ddf7d305a27 |
---|---|
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(), "cmdutil mdiff util") | 11 demandload(globals(), "cmdutil mdiff util") |
12 demandload(globals(), "cStringIO email.Parser os re shutil sys tempfile") | 12 demandload(globals(), "cStringIO email.Parser errno os re shutil sys tempfile") |
13 | 13 |
14 def extract(ui, fileobj): | 14 def extract(ui, fileobj): |
15 '''extract patch from data read from fileobj. | 15 '''extract patch from data read from fileobj. |
16 | 16 |
17 patch can be normal patch or contained in email message. | 17 patch can be normal patch or contained in email message. |