|
|
|
pq_branch_name(branch)
get the patch queue branch corresponding to branch |
|
|
|
pq_branch_base(pq_branch)
get the branch corresponding to the given patch queue branch |
|
|
|
parse_gbp_commands(info,
cmd_tag,
noarg_cmds,
arg_cmds,
filter_cmds=None)
Parses gbp commands from commit message. |
|
|
|
|
|
write_patch_file(filename,
commit_info,
diff)
Write patch file |
|
|
|
format_patch(outdir,
repo,
commit_info,
series,
numbered=True,
path_exclude_regex=None,
topic='
' ,
name=None,
renumber=False,
patch_num_prefix_format=' %04d- ' )
Create patch of a single commit |
|
|
|
format_diff(outdir,
filename,
repo,
start,
end,
path_exclude_regex=None)
Create a patch of diff between two repository objects |
|
|
|
get_maintainer_from_control(repo)
Get the maintainer from the control file |
|
|
|
switch_to_pq_branch(repo,
branch)
Switch to patch-queue branch if not already there, create it if it
doesn't exist yet |
|
|
|
apply_single_patch(repo,
branch,
patch,
fallback_author,
topic=None) |
|
|
|
apply_and_commit_patch(repo,
patch,
fallback_author,
topic=None,
name=None)
apply a single patch 'patch', add topic 'topic' and commit it |
|
|
|
|
|
switch_pq(repo,
current)
Switch to patch-queue branch if on base branch and vice versa |
|
|