Mercurial > hg
comparison tests/test-filelog.py.out @ 28177:ab8107c923b4
templater: evaluate each item of revset() as integer revision
Because templater.revset() returns a list of strings, repo["-1"] was mapped to
the tipmost revision. Ideally, we should make revset() return a list of integer
revisions, but it turned out not simple. If revset() is a list of integers,
"{ifcontains(rev, revset(), ...)}" would fail because "ifcontains" casts "rev"
to a string.
So this patch just converts a string back to an integer revision.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 12 Feb 2016 18:08:53 +0900 |
parents | d76ba2090e0c |
children |
comparison
equal
deleted
inserted
replaced
28176:9ff7261cc0f5 | 28177:ab8107c923b4 |
---|