~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/test_xml.py

  • Committer: Martin Pool
  • Date: 2005-09-13 01:40:45 UTC
  • Revision ID: mbp@sourcefrog.net-20050913014045-49f65739c33df949
- v5 xml no longer stores redundant inventory_id

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
"""
45
45
 
46
46
_revision_v5 = """<revision committer="Martin Pool &lt;mbp@sourcefrog.net&gt;"
47
 
    inventory_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9"
48
47
    inventory_sha1="e79c31c1deb64c163cf660fdedd476dd579ffd41"
49
48
    revision_id="mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9"
50
49
    timestamp="1125907235.211783886"
103
102
        eq = self.assertEqual
104
103
        eq(rev.committer,
105
104
           "Martin Pool <mbp@sourcefrog.net>")
106
 
        eq(rev.inventory_id,
107
 
           "mbp@sourcefrog.net-20050905080035-e0439293f8b6b9f9")
108
105
        eq(len(rev.parents), 1)
109
106
        eq(rev.timezone, 36000)
110
107
        eq(rev.parents[0].revision_id,