[PATCH] small win32-related fix for test_on_vfat
Aaron Bentley
aaron.bentley at utoronto.ca
Fri Sep 29 14:24:45 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+1. I also propose we make TestCase.build_tree use binary mode by
default, even though this is a slight API break.
Aaron
Alexander Belchenko wrote:
> test_on_vfat win32 fix: use binary line-endings
>
> --
> Alexander
>
>
> ------------------------------------------------------------------------
>
> # Bazaar revision bundle v0.8
> #
> # message:
> # test_on_vfat win32 fix: use binary line-endings
> # committer: Alexander Belchenko <bialix at ukr.net>
> # date: Fri 2006-09-29 14:15:51.086999893 +0300
>
> === modified file bzrlib/tests/repository_implementations/test_repository.py
> --- bzrlib/tests/repository_implementations/test_repository.py
> +++ bzrlib/tests/repository_implementations/test_repository.py
> @@ -582,7 +582,7 @@
> FOO_ID = 'foo<:>ID'
> REV_ID = 'revid-1'
> wt = self.make_branch_and_tree('repo')
> - self.build_tree(["repo/foo"])
> + self.build_tree(["repo/foo"], line_endings='binary')
> # add file with id containing wierd characters
> wt.add(['foo'], [FOO_ID])
> wt.commit('this is my new commit', rev_id=REV_ID)
>
> # revision id: bialix at ukr.net-20060929111551-7c6c3e5171e642d9
> # sha1: 03f20e1c3d51400cd92d93e0178df9b96d3ac6ca
> # inventory sha1: 62f8f4e5cf019ee66e90d968a7ef8bb3c8033cf5
> # parent ids:
> # pqm at pqm.ubuntu.com-20060928161539-3fc7d0f247fcfc5b
> # base id: pqm at pqm.ubuntu.com-20060928161539-3fc7d0f247fcfc5b
> # properties:
> # branch-nick: test_on_vfat.win32.fix
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFFHR6d0F+nu1YWqI0RAkbPAJ0aidnxYrpkVD1rnR/gz9cf1uuIBwCdECzS
BKazckHiIrCT6GS6RFk8MKs=
=RAvP
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list