Respect --edit for `rbt land` with remote changes.
Review Request #7010 — Created March 5, 2015 and submitted
When using
rbt landto apply a remote change from a review request, we
weren't respecting the--editflag, which meant that if a user wanted to
reformat the commit message (for example, wrapping to 80 columns), they'd have
to amend the commit later. I've added a check in thepatchmethod to use
either-Cor-cas appropriate.
Used
rbt land -r XXXX -e --dest masterand saw that it invoked my editor.
Tool: Pyflakes Processed Files: rbtools/commands/land.py Tool: PEP8 Style Checker Processed Files: rbtools/commands/land.py