review/tests/sample_data_latin1.py @ 16e0bcd4f854

Switch to the new hg spanset API

This api was introduced in 3.2, and the indexation is not supported anymore (probably since
3.4)

Patch provided by David Douard
(see https://bitbucket.org/sjl/hg-review/pull-requests/8/better-handling-of-obsolescence-markers/diff#comment-8174971)
author Christophe de Vienne <christophe@cdevienne.info>
date Fri, 19 Aug 2016 18:21:28 +0200
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'), },
]