~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_xml.py

  • Committer: John Arbash Meinel
  • Date: 2007-02-17 22:25:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2298.
  • Revision ID: john@arbash-meinel.com-20070217222537-p0hxseinc3x84e96
Minor performance improvement, use None as signal rather than ROOT_ID
for xml5 inventories. Discover small bug in serialized text because of this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
_inventory_utf8_v5 = """<inventory file_id="TRE&#233;_ROOT" format="5"
147
147
                                   revision_id="erik@b&#229;gfors-02">
148
148
<file file_id="b&#229;r-01"
149
 
      name="b&#229;r" parent_id="TREE_ROOT"
 
149
      name="b&#229;r" parent_id="TRE&#233;_ROOT"
150
150
      revision="erik@b&#229;gfors-01"/>
151
151
<directory name="s&#181;bdir"
152
152
           file_id="s&#181;bdir-01"
153
 
           parent_id="TREE_ROOT"
 
153
           parent_id="TRE&#233;_ROOT"
154
154
           revision="erik@b&#229;gfors-01"/>
155
155
<file executable="yes" file_id="b&#229;r-02"
156
156
      name="b&#229;r" parent_id="s&#181;bdir-01"