##// END OF EJS Templates
clfilter: use empty frozenset intead of empty tuple...
Pierre-Yves David -
r18231:c0c943ef default
parent child Browse files
Show More
@@ -124,7 +124,7 b' class changelog(revlog.revlog):'
124 self._realopener = opener
124 self._realopener = opener
125 self._delayed = False
125 self._delayed = False
126 self._divert = False
126 self._divert = False
127 self.filteredrevs = ()
127 self.filteredrevs = frozenset()
128
128
129 def tip(self):
129 def tip(self):
130 """filtered version of revlog.tip"""
130 """filtered version of revlog.tip"""
@@ -17,7 +17,7 b' def computeunserved(repo):'
17 # fast path in simple case to avoid impact of non optimised code
17 # fast path in simple case to avoid impact of non optimised code
18 if phases.hassecret(repo) or repo.obsstore:
18 if phases.hassecret(repo) or repo.obsstore:
19 return frozenset(repo.revs('hidden() + secret()'))
19 return frozenset(repo.revs('hidden() + secret()'))
20 return ()
20 return frozenset()
21
21
22 # function to compute filtered set
22 # function to compute filtered set
23 filtertable = {'unserved': computeunserved}
23 filtertable = {'unserved': computeunserved}
General Comments 0
You need to be logged in to leave comments. Login now