equal
deleted
inserted
replaced
136 |
136 |
137 Verify line trimming of custom conflict marker using multi-byte characters |
137 Verify line trimming of custom conflict marker using multi-byte characters |
138 |
138 |
139 $ hg up -q --clean . |
139 $ hg up -q --clean . |
140 $ $PYTHON <<EOF |
140 $ $PYTHON <<EOF |
141 > fp = open('logfile', 'w') |
141 > fp = open('logfile', 'wb') |
142 > fp.write(b'12345678901234567890123456789012345678901234567890' + |
142 > fp.write(b'12345678901234567890123456789012345678901234567890' + |
143 > b'1234567890') # there are 5 more columns for 80 columns |
143 > b'1234567890') # there are 5 more columns for 80 columns |
144 > |
144 > |
145 > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes |
145 > # 2 x 4 = 8 columns, but 3 x 4 = 12 bytes |
146 > fp.write(u'\u3042\u3044\u3046\u3048'.encode('utf-8')) |
146 > fp.write(u'\u3042\u3044\u3046\u3048'.encode('utf-8')) |