Fix post-receive to work with new update-deployment

update-deployment now expects the ref name to already be relative to
origin

(imported from commit 0a1792119dd2565c2413acbca25e0fe370f09bf8)
This commit is contained in:
Zev Benjamin 2013-05-29 13:27:00 -04:00
parent c58ac9cc0c
commit 4cd9abdf10

View File

@ -51,4 +51,4 @@ for ln in sys.stdin:
if deployments[refname]:
server, branch = deployments[refname]
update_deployment(server, oldrev, newrev, "origin/" + branch)
update_deployment(server, oldrev, newrev, branch)