mercurial/streamclone.py
changeset 3886 abaee83ce0a6
parent 3856 f9e129684b5d
child 3893 6b4127c7d52a
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