• 
      

    Add an option to delete branches after landing them.

    Review Request #6727 — Created Jan. 2, 2015 and submitted

    Information

    RBTools
    master
    8e8b890...

    Reviewers

    This introduces --delete-branch and --no-delete-branch options for
    handling whether a branch should be deleted after successfully being
    landed.

    By default, a branch is deleted, but LAND_DELETE_BRANCH can be set
    in .reviewboardrc to change this behavior.

    Tested landing a branch without --delete-branch. Saw that the branch was
    deleted after landing.

    Tested landing with --no-delete-branch. Saw that the branch was not deleted
    after landing.

    Changed the setting in .reviewboardrc and tested. Saw that the branch was not
    deleted.

    reviewbot
    1. Tool: PEP8 Style Checker
      Processed Files:
          rbtools/commands/land.py
          rbtools/clients/__init__.py
          rbtools/clients/git.py
      
      
      
      Tool: Pyflakes
      Processed Files:
          rbtools/commands/land.py
          rbtools/clients/__init__.py
          rbtools/clients/git.py
      
      
    2. 
        
    chipx86
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          rbtools/commands/land.py
          rbtools/clients/__init__.py
          rbtools/clients/git.py
      
      Ignored Files:
          docs/rbtools/rbt/commands/land.rst
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          rbtools/commands/land.py
          rbtools/clients/__init__.py
          rbtools/clients/git.py
      
      Ignored Files:
          docs/rbtools/rbt/commands/land.rst
      
      
    2. 
        
    chipx86
    david
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to master (a6b72c7)