Fix error running 'rbt patch' with Mercurial repositories.

Review Request #5894 — Created May 28, 2014 and submitted

Information

RBTools
master
8bf4464...

Reviewers

Running rbt patch with a Mercurial repository failed with the error
"patch: unrecognized option '--config'" because _execute() in
rbtools/clients/mercurial.py appends a --config option for loading hgrc files.
This option is used for hg commands, but is not a valid option for patch. To
fix this, we run patch by calling execute().

  • Ran unit tests.
  • Ran rbt patch with a Mercurial repository, and saw that the patch was
    applied successfully.
reviewbot
  1. This is a review from Review Bot.
      Tool: PEP8 Style Checker
      Processed Files:
        rbtools/clients/__init__.py
      Ignored Files:
    
    
  2. 
      
reviewbot
  1. This is a review from Review Bot.
      Tool: Pyflakes
      Processed Files:
        rbtools/clients/__init__.py
      Ignored Files:
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
anselina
Review request changed
Status:
Completed
Change Summary:
Pushed to release-0.6.x (1ef0899)