Mercurial > public > mercurial-scm > hg
comparison mercurial/patch.py @ 10905:13a1b2fb7ef2
pylint, pyflakes: remove unused or duplicate imports
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Wed, 14 Apr 2010 17:58:10 +0900 |
parents | 4fb1bafd43e7 |
children | 7faef79a89c7 |
comparison
equal
deleted
inserted
replaced
10903:cd21bf199d17 | 10905:13a1b2fb7ef2 |
---|---|
8 | 8 |
9 from i18n import _ | 9 from i18n import _ |
10 from node import hex, nullid, short | 10 from node import hex, nullid, short |
11 import base85, cmdutil, mdiff, util, diffhelpers, copies | 11 import base85, cmdutil, mdiff, util, diffhelpers, copies |
12 import cStringIO, email.Parser, os, re | 12 import cStringIO, email.Parser, os, re |
13 import sys, tempfile, zlib | 13 import tempfile, zlib |
14 | 14 |
15 gitre = re.compile('diff --git a/(.*) b/(.*)') | 15 gitre = re.compile('diff --git a/(.*) b/(.*)') |
16 | 16 |
17 class PatchError(Exception): | 17 class PatchError(Exception): |
18 pass | 18 pass |