comparison mercurial/streamclone.py @ 3886:abaee83ce0a6

Replace demandload with new demandimport
author Matt Mackall <mpm@selenic.com>
date Wed, 13 Dec 2006 13:27:09 -0600
parents f9e129684b5d
children 6b4127c7d52a
comparison
equal deleted inserted replaced
3885:1e0b94cfba0e 3886:abaee83ce0a6
3 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com> 3 # Copyright 2006 Vadim Gelfer <vadim.gelfer@gmail.com>
4 # 4 #
5 # This software may be used and distributed according to the terms 5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference. 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from demandload import demandload
9 from i18n import gettext as _ 8 from i18n import gettext as _
10 demandload(globals(), "os stat util lock") 9 import os, stat, util, lock
11 10
12 # if server supports streaming clone, it advertises "stream" 11 # if server supports streaming clone, it advertises "stream"
13 # capability with value that is version+flags of repo it is serving. 12 # capability with value that is version+flags of repo it is serving.
14 # client only streams if it can read that repo format. 13 # client only streams if it can read that repo format.
15 14