pq: exclude patches from Debian packaging branch
authorGuido Günther <agx@sigxcpu.org>
Sat, 24 Aug 2013 09:10:20 +0000 (11:10 +0200)
committerGuido Günther <agx@sigxcpu.org>
Sat, 24 Aug 2013 09:34:56 +0000 (11:34 +0200)
When regenerating the patch queue including patches from the Debian
branch is not useful. Addresses parts of See #680705.

Thanks: Benjamin Cama for the detailed analysis

gbp/scripts/pq.py

index 1ca9ca5cf8c57633be47089a70ce8dec5db51ab9..78f061a0ce9ac244588c93224da4508fcefa5ef4 100755 (executable)
@@ -54,8 +54,10 @@ def export_patches(repo, branch, options):
         else:
             gbp.log.debug("%s does not exist." % PATCH_DIR)
 
-    patches = repo.format_patches(branch, pq_branch, PATCH_DIR,
-                                  signature=False)
+    patches = repo.format_patches(branch,
+                                  pq_branch, PATCH_DIR,
+                                  signature=False,
+                                  symmetric=False)
     if patches:
         f = file(SERIES_FILE, 'w')
         gbp.log.info("Regenerating patch queue in '%s'." % PATCH_DIR)