Like a DebianGitRepository but can also perform rollbacks and knows
about some of the inner workings upstream vcs_tag, …
|
|
__init__(self,
*args,
**kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
|
|
|
vcs_tag_parent(self,
vcs_tag_format,
version)
If linking to the upstream VCS get the commit id |
|
|
|
|
rrr(self,
refname,
action,
reftype)
Remember ref for rollback |
|
|
|
|
rrr_branch(self,
branchname,
action='reset-or-delete') |
|
|
|
|
rrr_tag(self,
tagname,
action='delete') |
|
|
|
|
rrr_merge(self,
commit,
action='abortmerge') |
|
|
|
|
rollback(self)
Perform a complete rollback |
|
|
|
Inherited from deb.git.DebianGitRepository:
create_pristinetar_commits,
debian_version_from_upstream,
find_version,
has_pristine_tar_branch,
tree_drop_dirs,
tree_get_dir
Inherited from git.repository.GitRepository:
archive,
clean,
collect_garbage,
force_head,
get_author_info,
get_config,
is_clean,
is_empty,
rev_parse,
set_user_email,
set_user_name,
status
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|
|
|
|
|
|
merge(self,
*args,
**kwargs)
Merge changes from the named commit into the current branch |
|
|
|
Inherited from git.repository.GitRepository:
abort_merge,
branch_contains,
delete_branch,
get_branch,
get_local_branches,
get_merge_base,
get_merge_branch,
get_remote_branches,
get_upstream_branch,
has_branch,
is_fast_forward,
rename_branch,
set_branch,
set_upstream_branch,
update_ref
|
|
|
create_tag(self,
*args,
**kwargs)
Create a new tag. |
|
|
|
Inherited from git.repository.GitRepository:
delete_tag,
describe,
find_branch_tag,
find_tag,
get_tags,
has_tag,
move_tag,
verify_tag
|
|
Inherited from git.repository.GitRepository:
checkout,
get_obj_type,
has_treeish,
list_tree,
make_tree,
write_tree
|
|
Inherited from git.repository.GitRepository:
add_remote_repo,
fetch,
get_remote_repos,
get_remotes,
has_remote_repo,
pull,
push,
push_tag,
remove_remote_repo
|
|
Inherited from git.repository.GitRepository:
add_files,
list_files,
remove_files,
write_file
|
|
|
commit_dir(self,
*args,
**kwargs)
Replace the current tip of branch branch with the contents
from unpack_dir |
|
|
|
Inherited from git.repository.GitRepository:
commit_all,
commit_files,
commit_staged,
commit_tree
|
|
Inherited from git.repository.GitRepository:
get_commit_info,
get_commits,
get_subject,
grep_log,
show
|
|
Inherited from git.repository.GitRepository:
apply_patch,
diff,
diff_status,
format_patches
|
|
Inherited from git.repository.GitRepository:
add_submodule,
get_submodules,
has_submodules,
update_submodules
|