pq-rpm: implement --retain-history option
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 31 Mar 2014 12:18:34 +0000 (15:18 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Thu, 5 Jun 2014 11:20:08 +0000 (14:20 +0300)
commit33d2d4a9d07ffcef721f7cbae1c591613b59d3f0
treefcb9c2a57c43ca4d60edf03c31b4456327791644
parenta4c9ea5d3f4475bf18dd60530c91e02e6d3f4520
pq-rpm: implement --retain-history option

With this option defined gbp tries to preserve the history when
converting. That is, for each commit in the old branch create one
corresponding commit in the new orphan packaging branch. This works by
dumping packaging files and updating patches for each commit. However,
empty commits are not generated - these are caused e.g. by changes in
files that are ignored by patch-generation.

NOTE! Only valid for the 'convert' action.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp/scripts/pq_rpm.py
tests/component/rpm/test_pq_rpm.py