• 
      

    Add an option to delete branches after landing them.

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

    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.