Mercurial > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/obsolete.py Sat Jul 28 13:05:25 2012 +0200 +++ b/mercurial/obsolete.py Sat Jul 28 13:33:06 2012 +0200 @@ -55,6 +55,10 @@ from mercurial import util, base85 from i18n import _ +# the obsolete feature is not mature enought to be enabled by default. +# you have to rely on third party extension extension to enable this. +_enabled = False + _pack = struct.pack _unpack = struct.unpack