Default to --local in rbt land if merging a branch.

Review Request #6714 — Created Dec. 31, 2014 and submitted

Information

RBTools
master
feb7efb...

Reviewers

Currently, merging a local branch requires specifying --local. This
ended up being a bit more work than wanted for the average user.

Now, --local is the default unless both -r is used and a specific branch
is not specified. This means that if you're just landing a remote change
using -r, it will land correctly as before, but if you're trying to land
the current branch (without specifying -r) or landing a specified
branch, it will assume it's local and doesn't need to be patched.

Tested landing a local branch without having to specify --local. Worked fine.

There are larger problems landing remote patches. I'll have a separate change up
for that.

Description From Last Updated

undefined name 'confirm'

reviewbotreviewbot
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        rbtools/commands/land.py
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        rbtools/commands/land.py
    
    
  2. rbtools/commands/land.py (Diff revision 1)
     
     
    Show all issues
     undefined name 'confirm'
    
  3. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (92e0b6f)
Loading...