~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/store/versioned/__init__.py

  • Committer: Robert Collins
  • Date: 2006-03-02 10:51:24 UTC
  • mto: (1594.2.4 integration)
  • mto: This revision was merged to the branch mainline in revision 1596.
  • Revision ID: robertc@robertcollins.net-20060302105124-675e0bed0d749b43
get knit repositories really using knits for text storage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        transaction.register_clean(w, precious=self._precious)
83
83
        return w
84
84
 
 
85
    @deprecated_method(zero_eight)
85
86
    def get_lines(self, file_id, rev_id, transaction):
86
87
        """Return text from a particular version of a weave.
87
88
 
88
89
        Returned as a list of lines."""
89
90
        w = self.get_weave(file_id, transaction)
90
 
        return w.get(rev_id)
 
91
        return w.get_lines(rev_id)
91
92
    
92
93
    def _new_weave(self, file_id, transaction):
93
94
        """Make a new weave for file_id and return it."""