Affected Version: Gerrit 2.1.8
What steps will reproduce the problem?
1. Click the 'Revert Change' button on a merged change
2. Query the database for the ancestor of the generated change:
reviewdb=> SELECT * FROM patch_set_ancestors WHERE change_id = 89976;
What is the expected output? What do you see instead?
Expected:
reviewdb=> SELECT * FROM patch_set_ancestors WHERE change_id = 89976;
c65ef6737c1ce986d65c7ccec86b34e8745e42a9 | 89976 | 1 | 1
reviewdb=>
Actual:
reviewdb=> SELECT * FROM patch_set_ancestors WHERE change_id = 89976;
reviewdb=>
Please provide any additional information below.
Labels: FixedIn-2.5