Fix missing branch name in error message
authorGuido Günther <agx@sigxcpu.org>
Tue, 9 Aug 2011 17:21:45 +0000 (19:21 +0200)
committerGuido Günther <agx@sigxcpu.org>
Tue, 9 Aug 2011 17:23:25 +0000 (19:23 +0200)
gbp-pq

diff --git a/gbp-pq b/gbp-pq
index 3622433..e826b8e 100755 (executable)
--- a/gbp-pq
+++ b/gbp-pq
@@ -185,7 +185,8 @@ def import_quilt_patches(repo, branch, series, tries):
         pq_branch = pq_branch_name(branch)
 
     if repo.has_branch(pq_branch):
-        raise GbpError, ("Patch queue branch '%s'. already exists. Try 'rebase' instead.")
+        raise GbpError, ("Patch queue branch '%s'. already exists. Try 'rebase' instead."
+                         % pq_branch)
 
     commits = repo.commits(options=['-%d' % tries], first_parent=True)
     for commit in commits: