comparison tests/test-tag.t @ 25700:0fca47b206f6

templatekw: use a list of tags in getlatesttags() instead of joining them This will be used in the next patch. It also points out that the documentation for '{latesttag}' is not quite accurate, since it says "most recent global tag" (singular). I assume it is too radical of a change to convert it to a list of strings. At least ':' is currently a reserved character in tag names.
author Matt Harbison <matt_harbison@yahoo.com>
date Fri, 26 Jun 2015 23:23:10 -0400
parents 24cda1dd45ff
children 4474a750413f
comparison
equal deleted inserted replaced
25699:5c97a4ecbdd4 25700:0fca47b206f6
443 $ hg ci -A -m3 443 $ hg ci -A -m3
444 adding f3 444 adding f3
445 $ hg tag -f t4 t5 t6 445 $ hg tag -f t4 t5 t6
446 $ hg tag --remove t5 446 $ hg tag --remove t5
447 $ echo c4 > f4 447 $ echo c4 > f4
448 $ hg log -r '.' -T "{latesttag}\n"
449 t4:t6
448 $ hg ci -A -m4 450 $ hg ci -A -m4
449 adding f4 451 adding f4
450 $ hg tag t2 452 $ hg tag t2
451 $ hg tag -f t6 453 $ hg tag -f t6
452 454