mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
upgradegeneraldelta: disable for peer objects
This commit is contained in:
parent
0f39c60f82
commit
6cfd6e20ea
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user