From 1b67e22f9011f8611df9dc427aaf8592c7b16908 Mon Sep 17 00:00:00 2001 From: Steven Walter Date: Mon, 21 Jul 2008 18:43:03 -0400 Subject: [PATCH] cmd_track: fix wording in error message --- yap/yap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yap/yap.py b/yap/yap.py index 4a5465a..05247ee 100644 --- a/yap/yap.py +++ b/yap/yap.py @@ -1105,7 +1105,7 @@ where to push local changes and from where to get updates to the branch. raise YapError("No such repository: %s" % repo) if run_command("git rev-parse --verify refs/remotes/%s/%s" % (repo, branch)): - raise YapError("No such branch '%s' on repository '%s'" % (repo, branch)) + raise YapError("No such branch '%s' on repository '%s'" % (branch, repo)) os.system("git config branch.%s.remote '%s'" % (current, repo)) os.system("git config branch.%s.merge 'refs/heads/%s'" % (current, branch)) -- 2.11.4.GIT