gbp-pq: readiness to configure the pq branch name
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Fri, 11 May 2012 07:56:17 +0000 (10:56 +0300)
committerJun Wang <junbill.wang@samsung.com>
Wed, 27 Jan 2016 11:16:10 +0000 (19:16 +0800)
commit90f242f72805074b9e7d2c8980c5da27eaa7f1e5
tree2af196a8d04090af64aa659101f7740bfdca24cd
parent6cd371d08785515014669ca2bb353940ee4122bb
gbp-pq: readiness to configure the pq branch name

All other gbp branches have configurable names. This commit adds the
readiness for user to configure/change the name of the patch-queue
branches, as well.

Patch-queue is defined in options as a format string, where '%(branch)s'
refers to the debian/packaging branch. If the pq-branch format string
does not contain '%(branch)s', there is only one patch-queue branch and
the debian/packaging branch is used as its base branch. That is, e.g. a
'gbp-pq switch' operation from the patch-queue branch always switches to
the debian/packaging branch.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Signed-off-by: Olev Kartau <olev.kartau@intel.com>
Conflicts:
gbp/scripts/common/pq.py
gbp/scripts/common/pq.py
gbp/scripts/pq.py
tests/13_test_gbp_pq.py