From 62e5707e312b5b9a6f96ab2330ea6fbd63161cca Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Thu, 4 Sep 2014 15:00:28 +0300 Subject: [PATCH] pq-rpm: better error message Change-Id: Iaadc614e9ed5df2e943eed71511559d0b76e0227 Signed-off-by: Markus Lehtonen --- gbp/scripts/pq_rpm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gbp/scripts/pq_rpm.py b/gbp/scripts/pq_rpm.py index 9ba5028..2f4f42c 100755 --- a/gbp/scripts/pq_rpm.py +++ b/gbp/scripts/pq_rpm.py @@ -419,7 +419,7 @@ def import_spec_patches(repo, options): # Create pq-branch if repo.has_branch(pq_branch) and not options.force: raise GbpError("Patch-queue branch '%s' already exists. " - "Try 'rebase' instead." % pq_branch) + "Try 'switch' instead." % pq_branch) try: if repo.get_branch() == pq_branch: repo.force_head(upstream_commit, hard=True) -- 2.7.4