Mercurial > hg
diff tests/test-rebase-collapse.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 | a55b06885cda |
children | 904b7109938e |
line wrap: on
line diff
--- a/tests/test-rebase-collapse.t Tue Jan 15 20:55:47 2013 +0100 +++ b/tests/test-rebase-collapse.t Sun Jan 13 01:39:16 2013 -0600 @@ -274,7 +274,7 @@ 7:c65502d4178782309ce0574c5ae6ee9485a9bafa default 6:c772a8b2dc17629cec88a19d09c926c4814b12c7 default - $ cat $TESTTMP/b2/.hg/cache/branchheads-unserved + $ cat $TESTTMP/b2/.hg/cache/branchheads-served c65502d4178782309ce0574c5ae6ee9485a9bafa 7 c772a8b2dc17629cec88a19d09c926c4814b12c7 default c65502d4178782309ce0574c5ae6ee9485a9bafa default