diff --git a/upstream_utils/upstream_utils.py b/upstream_utils/upstream_utils.py index 28b73aca2de..560fbe048a6 100644 --- a/upstream_utils/upstream_utils.py +++ b/upstream_utils/upstream_utils.py @@ -372,6 +372,8 @@ def reset(self): subprocess.run(["git", "switch", "--detach", self.old_tag]) + self.set_root_tag(self.old_tag) + self.apply_patches() def rebase(self, new_tag):