Mercurial > public > mercurial-scm > hg-stable
diff tests/test-inherit-mode.t @ 18382:f3b21beb9802
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
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Sun, 13 Jan 2013 01:39:16 -0600 |
parents | 58ca19edc043 |
children | 7d4219512823 |
line wrap: on
line diff
--- a/tests/test-inherit-mode.t Tue Jan 15 20:55:47 2013 +0100 +++ b/tests/test-inherit-mode.t Sun Jan 13 01:39:16 2013 -0600 @@ -66,7 +66,7 @@ 00700 ./.hg/ 00600 ./.hg/00changelog.i 00770 ./.hg/cache/ - 00660 ./.hg/cache/branchheads-unserved + 00660 ./.hg/cache/branchheads-served 00660 ./.hg/dirstate 00660 ./.hg/last-message.txt 00600 ./.hg/requires @@ -111,7 +111,7 @@ 00770 ../push/.hg/ 00660 ../push/.hg/00changelog.i 00770 ../push/.hg/cache/ - 00660 ../push/.hg/cache/branchheads-impactable + 00660 ../push/.hg/cache/branchheads-base 00660 ../push/.hg/requires 00770 ../push/.hg/store/ 00660 ../push/.hg/store/00changelog.i