aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-09-23 13:35:36 +0200
committerGuido Günther <agx@sigxcpu.org>2016-09-29 11:20:57 +0200
commit9817e89694bb115be3708418c92f7b8034193d5e (patch)
treeb78461c9908e8227b67969cba81c73166d13fe6c
parent46787e32563cab17194e23795044d23c4afd11d7 (diff)
posttag-push: Print branches we push to
-rwxr-xr-xexamples/gbp-posttag-push4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push
index 0a9bf65e..52c4c748 100755
--- a/examples/gbp-posttag-push
+++ b/examples/gbp-posttag-push
@@ -135,14 +135,14 @@ def main(argv):
for dest in dests:
print("Pushing %s to %s" % (env.tag, dest))
repo.push_tag(dest, env.tag)
- print("Pushing %s to %s" % (env.sha1, dest))
+ print("Pushing %s to %s %s" % (env.sha1, dest, dests[dest]))
repo.push(dest, env.sha1, dests[dest])
if options.push_upstream and upstream_tag:
print("Pushing %s to %s" % (upstream_tag, dest))
repo.push_tag(dest, upstream_tag)
if not repo.branch_contains("%s/%s" % (dest, options.upstream_branch),
upstream_sha1, remote=True):
- print("Pushing %s to %s" % (upstream_sha1, dest))
+ print("Pushing %s to %s %s" % (upstream_sha1, dest, options.upstream_branch))
repo.push(dest, upstream_sha1, options.upstream_branch)
print("done.")