Fix error running 'rbt patch' with Mercurial repositories.
Review Request #5894 — Created May 28, 2014 and submitted
Running
rbt patchwith 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 forpatch. To
fix this, we runpatchby calling execute().
- Ran unit tests.
- Ran
rbt patchwith a Mercurial repository, and saw that the patch was
applied successfully.
This is a review from Review Bot. Tool: PEP8 Style Checker Processed Files: rbtools/clients/__init__.py Ignored Files: