##// END OF EJS Templates
filelog: drop _generaldelta attribute (API)...
Gregory Szorc -
r39903:4b816a83 default
parent child Browse files
Show More
@@ -25,8 +25,6 b' class filelog(object):'
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)
@@ -741,13 +741,6 b' class ifilemutation(interfaceutil.Interf'
741 class ifilestorage(ifileindex, ifiledata, ifilemutation):
741 class ifilestorage(ifileindex, ifiledata, ifilemutation):
742 """Complete storage interface for a single tracked file."""
742 """Complete storage interface for a single tracked file."""
743
743
744 _generaldelta = interfaceutil.Attribute(
745 """Whether deltas can be against any parent revision.
746
747 TODO this is used by changegroup code and it could probably be
748 folded into another API.
749 """)
750
751 def files():
744 def files():
752 """Obtain paths that are backing storage for this file.
745 """Obtain paths that are backing storage for this file.
753
746
@@ -106,9 +106,6 b' class filestorage(object):'
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()
General Comments 0
You need to be logged in to leave comments. Login now