review/tests/sample_data.py @ b443b42afe6f issue-90
Convert unicode to ascii for mercurial API. Mercurial API can't work with python's Unicode objects. Details http://mercurial.selenic.com/wiki/EncodingStrategy#Unicode_strings
| author | Alexander Stepanenko <olexander314@gmail.com> | 
|---|---|
| date | Mon, 15 Dec 2014 02:06:13 +0300 | 
| parents | dff2e396a30f | 
| children | (none) | 
log = [ { 'file_one': 'hello\nworld\nfirst\ncommit', 'file_two': 'this is another test file', 'long_file': 'a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\no\np\nq\nr\ns\nt', 'always_changing': 'this\nfile\nalways\nchanges', 'always_changing2': 'this\nfile\nalways\nchanges', }, { 'file_one': 'hello again\nworld\nfoo\nbar', 'file_three': 'this is a new file\nfor testing\npurposes\nonly', 'test_dir/test_file': 'this file is inside\nof a directory\n\nponies!', 'long_file': 'a\nb\nc\nd\ne\nf\nX\nh\ni\nj\nk\nl\nY\no\np\nq\nr\ns\nt', 'always_changing': 'THIS\nFILE\nALWAYS\nCHANGES', 'always_changing2': 'THIS\nFILE\nALWAYS\nCHANGES', }, ]