~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/ui/__init__.py

  • Committer: Jelmer Vernooij
  • Date: 2010-01-29 12:13:15 UTC
  • mto: This revision was merged to the branch mainline in revision 5022.
  • Revision ID: jelmer@samba.org-20100129121315-i2hbteyvnyypm11s
Review feedback from Rob.

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
            "same format for better performance.\n" %
296
296
            (from_format, to_format))
297
297
 
298
 
    def warn_experimental_format_fetch(self, to_format):
299
 
        """Warn about fetching between experimental format transfer"""
300
 
        trace.warning("Fetching into experimental format %s.\n"
301
 
            "This format may be unreliable or change in the future "
302
 
            "without an upgrade path.\n" % (to_format,))
 
298
    def warn_experimental_format_fetch(self, inter):
 
299
        """Warn about fetching into experimental repository formats."""
 
300
        if inter.target._format.experimental:
 
301
            trace.warning("Fetching into experimental format %s.\n"
 
302
                "This format may be unreliable or change in the future "
 
303
                "without an upgrade path.\n" % (inter.target._format,))
303
304
 
304
305
 
305
306