status output goes to to_file instead of logger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
Some methods send status output to to_file, instead of the logger. This is usually only noticeable when embedding bzrlib. I think this is wrong at least in those cases where a file to write to can't be specified when using the command line client, e.g. "No revisions to pull" when running "bzr pull". Here are some more locations where I believe output should go to the logger instead of to_file:
add.py: self._to_
add.py: self._to_
branch.py: to_file.
branch.py: to_file.write(' %s\n' % (name, ))
branch.py: to_file.write('No revisions to pull.\n')
branch.py: to_file.write('Now on revision %d.\n' % self.new_revno)
branch.py: to_file.write('No new revisions to push.\n')
branch.py: to_file.
tags: | added: check-for-breezy |
Hi,
It seems like these things should be note()d instead.
This patch is relevant here:
http:// bundlebuggy. aaronbentley. com/request/<email address hidden>
Thanks,
James