~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Andrew Bennetts
  • Date: 2008-01-11 04:55:53 UTC
  • mto: This revision was merged to the branch mainline in revision 3175.
  • Revision ID: andrew.bennetts@canonical.com-20080111045553-g8rfanwmvy2bchtp
Enable use of smart revision streaming between repos with compatible models, not just between identical format repos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
736
736
        :seealso: get_data_stream
737
737
        """
738
738
        if format != self.get_format_signature():
739
 
            trace.mutter('incompatible format signature inserting to %r', self)
 
739
            if 'knit' in debug.debug_flags:
 
740
                trace.mutter(
 
741
                    'incompatible format signature inserting to %r', self)
740
742
            source = self._knit_from_datastream(
741
743
                (format, data_list, reader_callable))
742
744
            self.join(source)