Mercurial > hg-stable
diff mercurial/repoview.py @ 18231:c0c943ef4e55
clfilter: use empty frozenset intead of empty tuple
This will allows set operation needed for cache collaboration.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Wed, 02 Jan 2013 01:40:06 +0100 |
parents | 3c7b67b76190 |
children | 59a9f18d4587 |
line wrap: on
line diff
--- 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}