import-orig: Don’t hardcode the pristine-tar branch
authorAndrej Shadura <andrew.shadura@collabora.co.uk>
Fri, 2 Apr 2021 14:23:09 +0000 (16:23 +0200)
committerGuido Günther <agx@sigxcpu.org>
Fri, 17 Dec 2021 13:39:31 +0000 (14:39 +0100)
Signed-off-by: Andrej Shadura <andrew.shadura@collabora.co.uk>
gbp/scripts/import_orig.py

index 215bc8ada917dbdb3fc53518732576b8afc75f94..db7f1181480d68aa5ff5918b5fc46fe190eaf8cf 100644 (file)
@@ -516,7 +516,7 @@ def main(argv):
 
             if options.pristine_tar:
                 if pristine_orig:
-                    repo.rrr_branch('pristine-tar')
+                    repo.rrr_branch(repo.pristine_tar_branch)
                     for source in sources:
                         # Enforce signature file exists with --upstream-signatures=on
                         if options.upstream_signatures.is_on() and not source.signaturefile: