Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/patch.py @ 7873:4a4c7f6a5912
cleanup: drop unused imports
author | Peter Arrenbrecht <peter.arrenbrecht@gmail.com> |
---|---|
date | Mon, 23 Mar 2009 13:12:07 +0100 |
parents | 162fd31bbd93 |
children | 425a30ddfff6 |
comparison
equal
deleted
inserted
replaced
7872:f680a1bd679b | 7873:4a4c7f6a5912 |
---|---|
6 # This software may be used and distributed according to the terms | 6 # This software may be used and distributed according to the terms |
7 # of the GNU General Public License, incorporated herein by reference. | 7 # of the GNU General Public License, incorporated herein by reference. |
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, revlog, diffhelpers, copies | 11 import base85, cmdutil, mdiff, util, diffhelpers, copies |
12 import cStringIO, email.Parser, os, re, errno, math | 12 import cStringIO, email.Parser, os, re, math |
13 import sys, tempfile, zlib | 13 import sys, 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): |