Process mercurial diffs in binary mode.

Review Request #7473 — Created July 2, 2015 and submitted

Information

RBTools
release-0.7.x
06bf3e7...

Reviewers

The mercurial client in RBTools had never been updated to use unicode_literals,
and hadn't been audited to make sure we weren't trying to mix unicode and str
objects. This change converts things to use unicode everywhere that's
appropriate, and process the diffs entirely as bytes.

Ran unit tests.

Description From Last Updated

Blank line between these.

brenniebrennie

Col: 80 E501 line too long (80 > 79 characters)

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/clients/mercurial.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/clients/mercurial.py
    
    
  2. rbtools/clients/mercurial.py (Diff revision 1)
     
     
    Show all issues
    Col: 80
     E501 line too long (80 > 79 characters)
    
  3. 
      
brennie
  1. 
      
  2. rbtools/clients/mercurial.py (Diff revision 1)
     
     
     
    Show all issues

    Blank line between these.

  3. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.7.x (3a9e24e)