~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Alexander Belchenko
  • Date: 2006-12-19 08:45:03 UTC
  • mto: This revision was merged to the branch mainline in revision 2204.
  • Revision ID: bialix@ukr.net-20061219084503-m4szifvnbo8nq0qm
encoding_type = 'exact' force sys.stdout to be binary stream on win32
(get rid of binary_stdout attribute)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1218
1218
    takes_options = ['revision', 'diff-options', 'prefix']
1219
1219
    aliases = ['di', 'dif']
1220
1220
    encoding_type = 'exact'
1221
 
    binary_stdout = True
1222
1221
 
1223
1222
    @display_command
1224
1223
    def run(self, revision=None, file_list=None, diff_options=None,
1751
1750
 
1752
1751
    takes_options = ['revision', 'name-from-revision']
1753
1752
    takes_args = ['filename']
1754
 
    binary_stdout = True
 
1753
    encoding_type = 'exact'
1755
1754
 
1756
1755
    @display_command
1757
1756
    def run(self, filename, revision=None, name_from_revision=False):