equal
deleted
inserted
replaced
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 |