Permalink
Browse files

fabfile branch handling tweak

  • Loading branch information...
1 parent 7d6bb80 commit 39f5994de9637ea4d0a5848d8ea1e7309e8d834d @3point2 3point2 committed Apr 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 fabfile/__init__.py
View
@@ -113,7 +113,7 @@ def update_src(branch="master"):
Options: branch=BRANCH_NAME (default: master)
"""
require("mercury_src", **require_hosts)
- local("git push origin")
+ local("git push origin %s" % branch)
with cd("%(mercury_src)s" % env):
run("git fetch")
run("git checkout %s" % branch)

0 comments on commit 39f5994

Please sign in to comment.