bugbug
bugbug copied to clipboard
[bug_snapshot] Handle changes to product and component when rolling back a bug
Currently, the function rollback() that restores a bug its initial version does not handle changes to the product and component: https://github.com/mozilla/bugbug/blob/b7b96b574408f48e23b41cfbfabe4c650850e097/bugbug/bug_snapshot.py#L584
Adding the product and component could also help resolve https://github.com/mozilla/bugbug/issues/4297.