util: Optionally search entire history when listing changes
authorAndreas Sandberg <andreas.sandberg@arm.com>
Mon, 18 Sep 2017 15:33:53 +0000 (16:33 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 14 Nov 2017 16:53:19 +0000 (16:53 +0000)
commitaa2cd2f300b89927824f30fc93d265fcd22f52b4
treee6b3d1d39f56ee84d862aebc6603164d9648e785
parented969daf1aa709a62d06e7680944dc4408bb8e9d
util: Optionally search entire history when listing changes

The helper script to list changes currently only looks at the changes
between a branch point and two heads. This helps performance, but
sometimes misclassifies changes that exist both in the upstream
branch before the branch point and in a feature branch. Such changes
should normally not exist, but can be the product of an incorrect
rebase.

This change adds an option to the helper script to search the entire
upstream repo history when determining the set of upstream
changes. When this option is provided, the script lists the changes
that exist upstream before the branch point and in the feature branch
as "Incorrectly rebased changes".

Change-Id: I4cb72cea2152c49d0317dc43613be94a0a2de1e5
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/5161
util/maint/list_changes.py