~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Parth Malwankar
  • Date: 2010-05-12 15:27:29 UTC
  • mto: This revision was merged to the branch mainline in revision 5241.
  • Revision ID: parth.malwankar@gmail.com-20100512152729-n279zca61l6nf33z
remote push now shows estimated work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
249
249
        """Returns whether version is present."""
250
250
        raise NotImplementedError(self.has_version)
251
251
 
252
 
    def insert_record_stream(self, stream, record_counter):
 
252
    def insert_record_stream(self, stream, stream_type=None,
 
253
            record_counter=None):
253
254
        """Insert a record stream into this versioned file.
254
255
 
255
256
        :param stream: A stream of records to insert.
1009
1010
        """
1010
1011
        raise NotImplementedError(self.get_missing_compression_parent_keys)
1011
1012
 
1012
 
    def insert_record_stream(self, stream, record_counter=None):
 
1013
    def insert_record_stream(self, stream, stream_type, record_counter=None):
1013
1014
        """Insert a record stream into this container.
1014
1015
 
1015
1016
        :param stream: A stream of records to insert.
1251
1252
                sha1s[prefix + (suffix,)] = sha1
1252
1253
        return sha1s
1253
1254
 
1254
 
    def insert_record_stream(self, stream, record_counter=None):
 
1255
    def insert_record_stream(self, stream, stream_type=None, record_counter=None):
1255
1256
        """Insert a record stream into this container.
1256
1257
 
1257
1258
        :param stream: A stream of records to insert.