Rev 4417: Change parent_ids back to a list, because there are other tests that expect it. in http://bazaar.launchpad.net/~jameinel/bzr/bencode_serializer
John Arbash Meinel
john at arbash-meinel.com
Thu Jun 4 22:50:24 BST 2009
At http://bazaar.launchpad.net/~jameinel/bzr/bencode_serializer
------------------------------------------------------------
revno: 4417
revision-id: john at arbash-meinel.com-20090604215004-ssiafybarfkm7dan
parent: john at arbash-meinel.com-20090604212647-nb49x3kpjst7bgci
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: bencode_serializer
timestamp: Thu 2009-06-04 16:50:04 -0500
message:
Change parent_ids back to a list, because there are other tests that expect it.
-------------- next part --------------
=== modified file 'bzrlib/chk_serializer.py'
--- a/bzrlib/chk_serializer.py 2009-06-04 17:38:30 +0000
+++ b/bzrlib/chk_serializer.py 2009-06-04 21:50:04 +0000
@@ -61,7 +61,7 @@
'timezone': ('timezone', int, None),
'timestamp': ('timestamp', str, float),
'revision-id': ('revision_id', str, None),
- 'parent-ids': ('parent_ids', list, tuple),
+ 'parent-ids': ('parent_ids', list, None),
'inventory-sha1': ('inventory_sha1', str, None),
'message': ('message', str, cache_utf8.decode),
'properties': ('properties', dict, _validate_properties),
=== modified file 'bzrlib/tests/test_chk_serializer.py'
--- a/bzrlib/tests/test_chk_serializer.py 2009-06-03 14:47:56 +0000
+++ b/bzrlib/tests/test_chk_serializer.py 2009-06-04 21:50:04 +0000
@@ -72,8 +72,8 @@
"Canonical.com Patch Queue Manager <pqm at pqm.ubuntu.com>")
self.assertEquals(rev.inventory_sha1,
"4a2c7fb50e077699242cf6eb16a61779c7b680a7")
- self.assertEquals(("pqm at pqm.ubuntu.com-20090514104039-kggemn7lrretzpvc",
- "jelmer at samba.org-20090510012654-jp9ufxquekaokbeo"),
+ self.assertEquals(["pqm at pqm.ubuntu.com-20090514104039-kggemn7lrretzpvc",
+ "jelmer at samba.org-20090510012654-jp9ufxquekaokbeo"],
rev.parent_ids)
self.assertEquals("(Jelmer) Move dpush to InterBranch.", rev.message)
self.assertEquals("pqm at pqm.ubuntu.com-20090514113250-jntkkpminfn3e0tz",
More information about the bazaar-commits
mailing list