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>
Fri, 14 Nov 2014 12:47:20 +0000 (14:47 +0200)
commit571f492df3e7e91707882ea5f6a6f2d3174d7ad3
treeec7cb92b5e8ca0d2ac6100f6ce7dddb7c4a06cd3
parentc977df22678e9bb220afa86bbc5edcbf39acb048
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