/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 bzrlib/selftest/test_xml.py

  • Committer: Martin Pool
  • Date: 2005-09-16 09:43:55 UTC
  • Revision ID: mbp@sourcefrog.net-20050916094355-d1a3d0aebe303f28
- rename entry_version to name_version
  (a better description since it covers the name and path)

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
_committed_inv_v5 = """<inventory>
61
61
<file file_id="bar-20050901064931-73b4b1138abc9cd2" 
62
62
      name="bar" parent_id="TREE_ROOT" 
63
 
      text_version="mbp@foo-123123" entry_version="mbp@foo-123123"
 
63
      text_version="mbp@foo-123123" name_version="mbp@foo-123123"
64
64
      />
65
65
<directory name="subdir"
66
66
           file_id="foo-20050801201819-4139aa4a272f4250"
67
67
           parent_id="TREE_ROOT" 
68
 
           entry_version="mbp@foo-00"/>
 
68
           name_version="mbp@foo-00"/>
69
69
<file file_id="bar-20050824000535-6bc48cfad47ed134" 
70
70
      name="bar" parent_id="foo-20050801201819-4139aa4a272f4250" 
71
 
      entry_version="mbp@foo-00"
 
71
      name_version="mbp@foo-00"
72
72
      text_version="mbp@foo-123123"/>
73
73
</inventory>
74
74
"""
116
116
        ie = inv['bar-20050824000535-6bc48cfad47ed134']
117
117
        eq(ie.kind, 'file')
118
118
        eq(ie.text_version, 'mbp@foo-123123')
119
 
        eq(ie.entry_version, 'mbp@foo-00')
 
119
        eq(ie.name_version, 'mbp@foo-00')
120
120
        eq(ie.name, 'bar')
121
121
        eq(inv[ie.parent_id].kind, 'directory')
122
122