# HG changeset patch # User Augie Fackler # Date 1271528037 18000 # Node ID 7faef79a89c7c00c5298f9c1f35f375eeb39630f # Parent aa0426c79664a3444345b2de167331b54f6b5a86 patch: move mercurial-specific imports after stdlib imports diff -r aa0426c79664 -r 7faef79a89c7 mercurial/patch.py --- a/mercurial/patch.py Fri Apr 16 14:24:40 2010 -0500 +++ b/mercurial/patch.py Sat Apr 17 13:13:57 2010 -0500 @@ -6,11 +6,12 @@ # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. +import cStringIO, email.Parser, os, re +import tempfile, zlib + from i18n import _ from node import hex, nullid, short import base85, cmdutil, mdiff, util, diffhelpers, copies -import cStringIO, email.Parser, os, re -import tempfile, zlib gitre = re.compile('diff --git a/(.*) b/(.*)')