##// 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 27 self.filename = path
28 28 # Used by repo upgrade.
29 29 self.index = self._revlog.index
30 # Used by verify.
31 self.version = self._revlog.version
32 30 # Used by changegroup generation.
33 31 self._generaldelta = self._revlog._generaldelta
34 32
@@ -737,12 +737,6 b' class ifilemutation(interfaceutil.Interf'
737 737 class ifilestorage(ifileindex, ifiledata, ifilemutation):
738 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 740 _generaldelta = interfaceutil.Attribute(
747 741 """Whether deltas can be against any parent revision.
748 742
@@ -109,8 +109,6 b' class filestorage(object):'
109 109 # This is used by changegroup code :/
110 110 self._generaldelta = True
111 111
112 self.version = 1
113
114 112 def _refreshindex(self):
115 113 self._indexbynode.clear()
116 114 self._indexbyrev.clear()
General Comments 0
You need to be logged in to leave comments. Login now