clfilter: use empty frozenset intead of empty tuple
This will allows set operation needed for cache collaboration.
--- a/mercurial/changelog.py Mon Jan 07 02:00:43 2013 +0100
+++ b/mercurial/changelog.py Wed Jan 02 01:40:06 2013 +0100
@@ -124,7 +124,7 @@
self._realopener = opener
self._delayed = False
self._divert = False
- self.filteredrevs = ()
+ self.filteredrevs = frozenset()
def tip(self):
"""filtered version of revlog.tip"""
--- a/mercurial/repoview.py Mon Jan 07 02:00:43 2013 +0100
+++ b/mercurial/repoview.py Wed Jan 02 01:40:06 2013 +0100
@@ -17,7 +17,7 @@
# fast path in simple case to avoid impact of non optimised code
if phases.hassecret(repo) or repo.obsstore:
return frozenset(repo.revs('hidden() + secret()'))
- return ()
+ return frozenset()
# function to compute filtered set
filtertable = {'unserved': computeunserved}