mercurial/streamclone.py
changeset 6212 e75aab656f46
parent 5456 a58d415b272e
child 6762 f67d1468ac50
equal deleted inserted replaced
6211:f89fd07fc51d 6212:e75aab656f46
     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 _
       
     9 import os, osutil, stat, util, lock
     8 import os, osutil, stat, util, lock
    10 
     9 
    11 # if server supports streaming clone, it advertises "stream"
    10 # if server supports streaming clone, it advertises "stream"
    12 # capability with value that is version+flags of repo it is serving.
    11 # capability with value that is version+flags of repo it is serving.
    13 # client only streams if it can read that repo format.
    12 # client only streams if it can read that repo format.