# git-buildpackage uses only treeish object in v0.5.10,
# let's fetch it correctly
# TODO: upgrade git-buildpackage
- logger.debug(
- 'Current assignments: GIT_UPSTREAM_BRANCH="%s" GIT_DEBIAN_BRANCH="%s"' %(
- GIT_UPSTREAM_BRANCH,
- GIT_DEBIAN_BRANCH
- )
- )
GIT_UPSTREAM_BRANCH = git_helper.git_get_treeish(
os.path.join('origin', GIT_UPSTREAM_BRANCH)
)
- logger.debug(
- 'Current assignments: GIT_UPSTREAM_BRANCH="%s" GIT_DEBIAN_BRANCH="%s"' %(
- GIT_UPSTREAM_BRANCH,
- GIT_DEBIAN_BRANCH
- )
- )
cleanup_files = ('.gbp.conf', 'debian/gbp.conf', '.git/gbp.conf')
result = git_helper.git_cleanup_branch(cleanup_files)