Mercurial > hg > mercurial-crew-with-dirclash
diff mercurial/archival.py @ 3886:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 1d2fdea875bc |
children | 6b4127c7d52a |
line wrap: on
line diff
--- a/mercurial/archival.py +++ b/mercurial/archival.py @@ -5,10 +5,9 @@ # This software may be used and distributed according to the terms of # the GNU General Public License, incorporated herein by reference. -from demandload import * from i18n import gettext as _ from node import * -demandload(globals(), 'cStringIO os stat tarfile time util zipfile') +import cStringIO, os, stat, tarfile, time, util, zipfile def tidyprefix(dest, prefix, suffixes): '''choose prefix to use for names in archive. make sure prefix is