Mercurial > hg
diff tests/test-revset.t @ 33109:247bae545061
smartset: fix generatorset.last() to not return the first element (issue5609)
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Tue, 27 Jun 2017 23:50:22 +0900 |
parents | fce4ed2912bb |
children | 8e6f4939a69a |
line wrap: on
line diff
--- a/tests/test-revset.t Mon Jun 26 21:11:02 2017 -0700 +++ b/tests/test-revset.t Tue Jun 27 23:50:22 2017 +0900 @@ -1337,6 +1337,16 @@ 0 1 +Test scmutil.revsingle() should return the last revision + + $ hg debugrevspec -s 'last(0::)' + * set: + <baseset slice=0:1 + <generatorset->> + 9 + $ hg identify -r '0::' --num + 9 + Test matching $ log 'matching(6)'