Rev 5725: 'bzr export' needs to use 'exact' encoding. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration

John Arbash Meinel john at arbash-meinel.com
Tue Mar 15 10:28:34 UTC 2011


At http://bzr.arbash-meinel.com/branches/bzr/jam-integration

------------------------------------------------------------
revno: 5725
revision-id: john at arbash-meinel.com-20110315102820-51wy8wjre5ol34mu
parent: pqm at pqm.ubuntu.com-20110315003823-636nub1z70i2sc7p
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Tue 2011-03-15 11:28:20 +0100
message:
  'bzr export' needs to use 'exact' encoding.
  
  If we are going to be writing binary bites out of stdout, then it needs to
  be in binary mode, or it will corrupt the data stream.
  Oddly enough, it only seemed to fail if we set '--verbose'. I didn't
  bother to track into that bug.
-------------- next part --------------
=== modified file 'bzrlib/builtins.py'
--- a/bzrlib/builtins.py	2011-02-26 15:39:49 +0000
+++ b/bzrlib/builtins.py	2011-03-15 10:28:20 +0000
@@ -2922,6 +2922,7 @@
          zip                          .zip
       =================       =========================
     """
+    encoding = 'exact'
     takes_args = ['dest', 'branch_or_subdir?']
     takes_options = ['directory',
         Option('format',



More information about the bazaar-commits mailing list