Mercurial > hg-stable
comparison mercurial/obsolete.py @ 17298:59c14bf5a48c stable
pushkey: do not exchange obsole markers if feature is disabled
This apply to both push and pull both when client or server.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Sat, 28 Jul 2012 13:33:06 +0200 |
parents | a1f8869f2eee |
children | 0368fc55d572 |
comparison
equal
deleted
inserted
replaced
17297:6955d69a52a4 | 17298:59c14bf5a48c |
---|---|
52 cannot contain '\0'. | 52 cannot contain '\0'. |
53 """ | 53 """ |
54 import struct | 54 import struct |
55 from mercurial import util, base85 | 55 from mercurial import util, base85 |
56 from i18n import _ | 56 from i18n import _ |
57 | |
58 # the obsolete feature is not mature enought to be enabled by default. | |
59 # you have to rely on third party extension extension to enable this. | |
60 _enabled = False | |
57 | 61 |
58 _pack = struct.pack | 62 _pack = struct.pack |
59 _unpack = struct.unpack | 63 _unpack = struct.unpack |
60 | 64 |
61 # the obsolete feature is not mature enought to be enabled by default. | 65 # the obsolete feature is not mature enought to be enabled by default. |