upgradegeneraldelta: disable for peer objects

This commit is contained in:
Siddharth Agarwal 2014-12-17 21:09:18 -08:00
parent 0f39c60f82
commit 6cfd6e20ea

View File

@ -28,10 +28,12 @@ The following configuration options are available:
'''
from mercurial import revlog
from mercurial import revlog, util
import os, struct, weakref
def reposetup(ui, repo):
if not util.safehasattr(repo, 'svfs'):
return
if not ui.configbool('upgradegeneraldelta', 'upgrade'):
return