Respect --edit for `rbt land` with remote changes.

Review Request #7010 — Created March 5, 2015 and submitted

Information

RBTools
release-0.7.x
21c4d40...

Reviewers

When using rbt land to apply a remote change from a review request, we
weren't respecting the --edit flag, 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 the patch method to use
either -C or -c as appropriate.

Used rbt land -r XXXX -e --dest master and saw that it invoked my editor.

reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/commands/land.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/land.py
    
    
  2. 
      
chipx86
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-0.7.x (5951d1d)
Loading...