comparison tests/simplestorerepo.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 2ac4f3e97813
comparison
equal deleted inserted replaced
39866:e23c03dc5cf9 39867:4b816a83e17e
104 self._indexbynode = {} 104 self._indexbynode = {}
105 self._indexbyrev = {} 105 self._indexbyrev = {}
106 self._index = [] 106 self._index = []
107 self._refreshindex() 107 self._refreshindex()
108 108
109 # This is used by changegroup code :/
110 self._generaldelta = True
111
112 def _refreshindex(self): 109 def _refreshindex(self):
113 self._indexbynode.clear() 110 self._indexbynode.clear()
114 self._indexbyrev.clear() 111 self._indexbyrev.clear()
115 self._index = [] 112 self._index = []
116 113