mercurial/streamclone.py
changeset 3893 6b4127c7d52a
parent 3886 abaee83ce0a6
child 4134 9dc64c8414ca
equal deleted inserted replaced
3892:2eec996f2fb9 3893:6b4127c7d52a
     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 i18n import gettext as _
     8 from i18n import _
     9 import os, stat, util, lock
     9 import os, stat, util, lock
    10 
    10 
    11 # if server supports streaming clone, it advertises "stream"
    11 # if server supports streaming clone, it advertises "stream"
    12 # 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.
    13 # client only streams if it can read that repo format.
    13 # client only streams if it can read that repo format.