equal
deleted
inserted
replaced
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. |