/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Martin Pool
  • Date: 2007-03-22 07:04:04 UTC
  • mto: (2323.5.2 0.15)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: mbp@sourcefrog.net-20070322070404-zzhbluric9k4wox1
Move responsibility for suggesting upgrades to ui object

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
    textui,
71
71
    trace,
72
72
    transform,
 
73
    ui,
73
74
    urlutils,
74
75
    xml5,
75
76
    xml6,
1426
1427
            [subp for subp in self.extras() if not self.is_ignored(subp)])
1427
1428
 
1428
1429
    def _warn_deprecated_format(self):
1429
 
        trace.warning("%s is deprecated "
1430
 
            "and a better format is available.\n"
1431
 
            "It is recommended that you upgrade by "
1432
 
            "running the command\n"
1433
 
            "  bzr upgrade %s",
 
1430
        ui.ui_factory.recommend_upgrade(
1434
1431
            self._format.get_format_description(),
1435
1432
            self.basedir)
1436
1433