~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Robert Collins
  • Date: 2006-03-02 07:08:36 UTC
  • mto: (1594.2.4 integration)
  • mto: This revision was merged to the branch mainline in revision 1596.
  • Revision ID: robertc@robertcollins.net-20060302070836-be71595e05a607b7
remove the weavestore assumptions about the number and nature of files it manages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
    Texts are identified by a version-id string.
49
49
    """
50
50
 
 
51
    def copy_to(self, name, transport):
 
52
        """Copy this versioned file to name on transport."""
 
53
        raise NotImplementedError(self.copy_to)
 
54
    
51
55
    @deprecated_method(zero_eight)
52
56
    def names(self):
53
57
        """Return a list of all the versions in this versioned file.
96
100
        """
97
101
        raise NotImplementedError(self.create_empty)
98
102
 
 
103
    def get_suffixes(self):
 
104
        """Return the file suffixes associated with this versioned file."""
 
105
        raise NotImplementedError(self.get_suffixes)
 
106
    
99
107
    def get_text(self, version_id):
100
108
        """Return version contents as a text string.
101
109