review/tests/sample_data_latin1.py @ 3e5dfa8a94ef
Use revset to calculate rev list. When using obsolescence markers, the rev numbers are not a continuous range. This patch uses revset expressions to find the LOG_PAGE_LEN previous accessible revisions and calculate older and newer links.
| author | Christophe de Vienne <cdevienne@gmail.com> |
|---|---|
| date | Mon, 27 Oct 2014 18:42:14 +0100 |
| parents | cada9aab8b6f |
| children | (none) |
# coding=utf-8 # log = [ # TODO: Figure out how to make this work. # I hate you, Python. #{ u'filé'.encode('latin-1'): u'oné\ntwó\nthrée'.encode('latin-1'), }, #{ u'filé'.encode('latin-1'): u'óne\ntwo\nthreé'.encode('latin-1'), }, { u'file'.encode('latin-1'): u'oné\ntwó\nthrée'.encode('latin-1'), }, { u'file'.encode('latin-1'): u'óne\ntwo\nthreé'.encode('latin-1'), }, ]