summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-01-29 10:04:27 +0100
committerGuido Günther <agx@sigxcpu.org>2015-02-08 16:15:03 +0100
commit64be54db7546e7399b5b758d3f25c507180180e1 (patch)
treecbde8aeb7e15be1c29daf877097035e5925b3f50 /gbp
parenta6cf21deca04b965ed5d0f706e9e027146bf6512 (diff)
pq: Generate new style Gbp-Pq: Topic <topic> entries
We shouldn't generate the deprecated ones
Diffstat (limited to 'gbp')
-rw-r--r--gbp/scripts/common/pq.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/common/pq.py b/gbp/scripts/common/pq.py
index 04bb712..a82e462 100644
--- a/gbp/scripts/common/pq.py
+++ b/gbp/scripts/common/pq.py
@@ -275,7 +275,7 @@ def apply_and_commit_patch(repo, patch, fallback_author, topic=None):
tree = repo.write_tree()
msg = "%s\n\n%s" % (patch.subject, patch.long_desc)
if topic:
- msg += "\nGbp-Pq-Topic: %s" % topic
+ msg += "\nGbp-Pq: Topic %s" % topic
commit = repo.commit_tree(tree, msg, [repo.head], author=author)
repo.update_ref('HEAD', commit, msg="gbp-pq import %s" % patch.path)