/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_multiparent.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-05 07:32:38 UTC
  • mto: (7290.1.21 work)
  • mto: This revision was merged to the branch mainline in revision 7311.
  • Revision ID: jelmer@jelmer.uk-20190305073238-zlqn981opwnqsmzi
Add appveyor configuration.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
import patiencediff
18
17
from unittest import TestCase
19
18
 
20
19
from .. import (
21
20
    multiparent,
 
21
    patiencediff,
22
22
    tests,
23
23
    )
 
24
from ..sixish import int2byte
24
25
 
25
26
 
26
27
LINES_1 = b"a\nb\nc\nd\ne\n".splitlines(True)
183
184
 
184
185
    def add_version(self, vf, text, version_id, parent_ids):
185
186
        vf.add_version(
186
 
            [(bytes([t]) + b'\n') for t in bytearray(text)],
 
187
            [(int2byte(t) + b'\n') for t in bytearray(text)],
187
188
            version_id, parent_ids)
188
189
 
189
190
    def make_vf(self):