Index: git_cl.py |
diff --git a/git_cl.py b/git_cl.py |
index 082b4ebff80196f73684b3b512a2f09691f1e5ad..728350c50e840a02317c6c1588d151f02267ab5a 100755 |
--- a/git_cl.py |
+++ b/git_cl.py |
@@ -696,9 +696,9 @@ or verify this branch is set up to track another (via the --track argument to |
('\nFailed to diff against upstream branch %s!\n\n' |
'This branch probably doesn\'t exist anymore. To reset the\n' |
'tracking branch, please run\n' |
- ' git branch --set-upstream %s trunk\n' |
+ ' git branch --set-upstream-to=trunk\n' |
'replacing trunk with origin/master or the relevant branch') % |
- (upstream_branch, self.GetBranch())) |
+ (upstream_branch)) |
issue = self.GetIssue() |
patchset = self.GetPatchset() |