remove {Branch,Tree}.print_file

Bug #144693 reported by Martin Pool
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned
Breezy
Fix Released
Low
Jelmer Vernooij

Bug Description

  affects bzr
  importance low
  status confirmed

The Branch.print_file is old and crufty and should be deprecated:

 - it's on Branch, but it relates to tree content, not (directly) branch content
 - it's unnecessarily hardcoded to use the current sys.stdout

Instead, cmd_cat which is the only caller can just call
tree.get_file_text and print it itself.

--
Martin Pool

Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
Changed in brz:
milestone: none → 3.0.0
assignee: nobody → Jelmer Vernooij (jelmer)
importance: Undecided → Low
status: New → Fix Released
tags: removed: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.