Flutter Engine
The Flutter Engine
|
Public Member Functions | |
def | __init__ (self, branch_name, commit_msg, upload=True, commit_queue=False, delete_when_finished=True, cc_list=None) |
def | __enter__ (self) |
def | commit_and_upload (self, use_commit_queue=False) |
def | __exit__ (self, exc_type, _value, _traceback) |
Class to manage git branches. This class allows one to create a new branch in a repository to make changes, then it commits the changes, switches to main branch, and deletes the created temporary branch upon exit.
Definition at line 44 of file git_utils.py.
def git_utils.GitBranch.__init__ | ( | self, | |
branch_name, | |||
commit_msg, | |||
upload = True , |
|||
commit_queue = False , |
|||
delete_when_finished = True , |
|||
cc_list = None |
|||
) |
Definition at line 51 of file git_utils.py.
def git_utils.GitBranch.__enter__ | ( | self | ) |
Definition at line 61 of file git_utils.py.
def git_utils.GitBranch.__exit__ | ( | self, | |
exc_type, | |||
_value, | |||
_traceback | |||
) |
Definition at line 91 of file git_utils.py.
def git_utils.GitBranch.commit_and_upload | ( | self, | |
use_commit_queue = False |
|||
) |
Commit all changes and upload a CL, returning the issue URL.
Definition at line 71 of file git_utils.py.