filtering: rename filters to their antonyms
Now that changelog filtering is in place, it's become evident that naming the filters according to the set of revs _not_ included in the filtered changelog is confusing. This is especially evident in the collaborative branch cache scheme. This changes the names of the filters to reflect the revs that _are_ included: hidden -> visible unserved -> served mutable -> immutable impactable -> base repoview.filteredrevs is renamed to filterrevs, so that callers read a bit more sensibly, e.g.: filterrevs('visible') # filter revs according to what's visible
Showing
- mercurial/context.py 1 addition, 1 deletionmercurial/context.py
- mercurial/discovery.py 1 addition, 1 deletionmercurial/discovery.py
- mercurial/hg.py 1 addition, 1 deletionmercurial/hg.py
- mercurial/localrepo.py 1 addition, 1 deletionmercurial/localrepo.py
- mercurial/repoview.py 12 additions, 12 deletionsmercurial/repoview.py
- mercurial/revset.py 1 addition, 1 deletionmercurial/revset.py
- mercurial/wireproto.py 2 additions, 2 deletionsmercurial/wireproto.py
- tests/test-acl.t 21 additions, 21 deletionstests/test-acl.t
- tests/test-fncache.t 2 additions, 2 deletionstests/test-fncache.t
- tests/test-hardlinks.t 2 additions, 2 deletionstests/test-hardlinks.t
- tests/test-inherit-mode.t 2 additions, 2 deletionstests/test-inherit-mode.t
- tests/test-keyword.t 3 additions, 3 deletionstests/test-keyword.t
- tests/test-newbranch.t 4 additions, 4 deletionstests/test-newbranch.t
- tests/test-obsolete-divergent.t 6 additions, 6 deletionstests/test-obsolete-divergent.t
- tests/test-phases.t 4 additions, 4 deletionstests/test-phases.t
- tests/test-rebase-collapse.t 1 addition, 1 deletiontests/test-rebase-collapse.t
Loading
Please register or sign in to comment