diff -r fe31f834a9ff -r 34d8247a4595 mercurial/localrepo.py --- a/mercurial/localrepo.py Tue Sep 14 23:00:39 2010 +0200 +++ b/mercurial/localrepo.py Sat Oct 09 21:54:50 2010 +0200 @@ -22,7 +22,8 @@ class localrepository(repo.repository): capabilities = set(('lookup', 'changegroupsubset', 'branchmap', 'pushkey')) supportedformats = set(('revlogv1', 'parentdelta')) - supported = supportedformats | set(('store', 'fncache', 'shared')) + supported = supportedformats | set(('store', 'fncache', 'shared', + 'dotencode')) def __init__(self, baseui, path=None, create=0): repo.repository.__init__(self) @@ -52,6 +53,8 @@ requirements.append("store") if self.ui.configbool('format', 'usefncache', True): requirements.append("fncache") + if self.ui.configbool('format', 'dotencode', True): + requirements.append('dotencode') # create an invalid changelog self.opener("00changelog.i", "a").write( '\0\0\0\2' # represents revlogv2