comparison mercurial/filelog.py @ 39867:4b816a83e17e

filelog: drop _generaldelta attribute (API) With changegroup moving to emitrevisions(), this revlog-specific attribute is no longer used and can be deleted. Good riddance. Differential Revision: https://phab.mercurial-scm.org/D4727
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 24 Sep 2018 10:08:58 -0700
parents e23c03dc5cf9
children 14e500b58263
comparison
equal deleted inserted replaced
39866:e23c03dc5cf9 39867:4b816a83e17e
23 '/'.join(('data', path + '.i')), 23 '/'.join(('data', path + '.i')),
24 censorable=True) 24 censorable=True)
25 # Full name of the user visible file, relative to the repository root. 25 # Full name of the user visible file, relative to the repository root.
26 # Used by LFS. 26 # Used by LFS.
27 self._revlog.filename = path 27 self._revlog.filename = path
28 # Used by changegroup generation.
29 self._generaldelta = self._revlog._generaldelta
30 28
31 def __len__(self): 29 def __len__(self):
32 return len(self._revlog) 30 return len(self._revlog)
33 31
34 def __iter__(self): 32 def __iter__(self):