Mercurial > public > mercurial-scm > hg-stable
diff mercurial/mdiff.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 096f1c73cdc3 |
children | 226df1808f16 |
line wrap: on
line diff
--- a/mercurial/mdiff.py Tue Dec 12 18:16:23 2006 -0600 +++ b/mercurial/mdiff.py Wed Dec 13 13:27:09 2006 -0600 @@ -5,9 +5,7 @@ # This software may be used and distributed according to the terms # of the GNU General Public License, incorporated herein by reference. -from demandload import demandload -import bdiff, mpatch -demandload(globals(), "re struct util") +import bdiff, mpatch, re, struct, util def splitnewlines(text): '''like str.splitlines, but only split on newlines.'''