Flutter Engine
The Flutter Engine
|
Public Member Functions | |
__init__ (self, branch_name, commit_msg, upload=True, commit_queue=False, delete_when_finished=True, cc_list=None) | |
__enter__ (self) | |
commit_and_upload (self, use_commit_queue=False) | |
__exit__ (self, exc_type, _value, _traceback) | |
Protected Attributes | |
_branch_name | |
_commit_msg | |
_upload | |
_commit_queue | |
_patch_set | |
_delete_when_finished | |
_cc_list | |
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.
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.
git_utils.GitBranch.__enter__ | ( | self | ) |
Definition at line 61 of file git_utils.py.
git_utils.GitBranch.__exit__ | ( | self, | |
exc_type, | |||
_value, | |||
_traceback | |||
) |
Definition at line 91 of file git_utils.py.
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.
|
protected |
Definition at line 53 of file git_utils.py.
|
protected |
Definition at line 59 of file git_utils.py.
|
protected |
Definition at line 54 of file git_utils.py.
|
protected |
Definition at line 56 of file git_utils.py.
|
protected |
Definition at line 58 of file git_utils.py.
|
protected |
Definition at line 57 of file git_utils.py.
|
protected |
Definition at line 55 of file git_utils.py.