summaryrefslogtreecommitdiff
path: root/tb3
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-07-25 00:03:38 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2013-07-25 00:03:38 +0200
commit9b585153fef2fb9266ba325929f82a2f7c9ce4c3 (patch)
treeccee0ed89cf03e0ea0479271cf43298d25c3818e /tb3
parentf9df322bdd0b1762bb67325f5ff923facfc9007f (diff)
just force set the branch, no checkout needed
Diffstat (limited to 'tb3')
-rwxr-xr-xtb3/replay-branch3
1 files changed, 1 insertions, 2 deletions
diff --git a/tb3/replay-branch b/tb3/replay-branch
index f891e11..79fdfcc 100755
--- a/tb3/replay-branch
+++ b/tb3/replay-branch
@@ -34,8 +34,7 @@ class Syncer:
except IndexError:
commit = commits[0]
more_commits = False
- self.git.checkout(self.to_branch)
- self.git.pull(commit)
+ self.git.branch('-f', self.to_branch, commit)
return more_commits
def execute(self):
if self.count > 0: