Mercurial > evolve
diff tests/test-topic.t @ 4379:2893b127923b
topic: make ranges work in revset relations like 'foo#topic[1:2]'
Since #topic is very similar to #generations, we reuse the function directly.
Few tests because #generations is already tested in core.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 27 Jan 2019 17:39:09 +0800 |
parents | 0f015fe4f71f |
children | 5f1d0cff514d |
line wrap: on
line diff
--- a/tests/test-topic.t Fri Jan 25 16:51:36 2019 +0530 +++ b/tests/test-topic.t Sun Jan 27 17:39:09 2019 +0800 @@ -860,6 +860,10 @@ 3: featureA $ tlog 'featureA#topic[0]' 3: featureA + $ tlog 'featureA#topic[:]' + 1: featureA + 2: featureA + 3: featureA $ tlog '2#t[-2]' $ tlog '2#t[-1]' @@ -869,6 +873,10 @@ $ tlog '2#t[1]' 3: featureA $ tlog '2#t[2]' + $ tlog '2#t[-1:1]' + 1: featureA + 2: featureA + 3: featureA stack subscript relation