~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revstorage.py

Merge from integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
from bzrlib.tree import EmptyTree
21
21
from bzrlib.revision import NULL_REVISION
22
22
from bzrlib.store.weave import WeaveStore
23
 
from bzrlib.store.compressed_text import CompressedTextStore
24
23
from bzrlib.store.text import TextStore
25
24
import bzrlib.xml5
26
25
from bzrlib.tree import RevisionTree
68
67
            # still want the option to look for both.
69
68
            relpath = self.control_files._rel_controlfilename(name)
70
69
            if compressed:
71
 
                store = CompressedTextStore(
 
70
                store = TextStore(
72
71
                    self.control_files.make_transport(relpath),
73
72
                    prefixed=prefixed)
74
73
            else:
122
121
        except (IndexError, KeyError):
123
122
            raise bzrlib.errors.NoSuchRevision(self, revision_id)
124
123
 
125
 
    #deprecated
126
 
    get_revision_xml = get_revision_xml_file
127
 
 
128
124
    def get_revision_xml(self, revision_id):
129
125
        return self.get_revision_xml_file(revision_id).read()
130
126