##// END OF EJS Templates
filelog: remove version attribute (API)...
Gregory Szorc -
r40134:68282a7b default
parent child Browse files
Show More
@@ -27,8 +27,6 b' class filelog(object):'
27 self.filename = path
27 self.filename = path
28 # Used by repo upgrade.
28 # Used by repo upgrade.
29 self.index = self._revlog.index
29 self.index = self._revlog.index
30 # Used by verify.
31 self.version = self._revlog.version
32 # Used by changegroup generation.
30 # Used by changegroup generation.
33 self._generaldelta = self._revlog._generaldelta
31 self._generaldelta = self._revlog._generaldelta
34
32
@@ -737,12 +737,6 b' class ifilemutation(interfaceutil.Interf'
737 class ifilestorage(ifileindex, ifiledata, ifilemutation):
737 class ifilestorage(ifileindex, ifiledata, ifilemutation):
738 """Complete storage interface for a single tracked file."""
738 """Complete storage interface for a single tracked file."""
739
739
740 version = interfaceutil.Attribute(
741 """Version number of storage.
742
743 TODO this feels revlog centric and could likely be removed.
744 """)
745
746 _generaldelta = interfaceutil.Attribute(
740 _generaldelta = interfaceutil.Attribute(
747 """Whether deltas can be against any parent revision.
741 """Whether deltas can be against any parent revision.
748
742
@@ -109,8 +109,6 b' class filestorage(object):'
109 # This is used by changegroup code :/
109 # This is used by changegroup code :/
110 self._generaldelta = True
110 self._generaldelta = True
111
111
112 self.version = 1
113
114 def _refreshindex(self):
112 def _refreshindex(self):
115 self._indexbynode.clear()
113 self._indexbynode.clear()
116 self._indexbyrev.clear()
114 self._indexbyrev.clear()
General Comments 0
You need to be logged in to leave comments. Login now