diff --git a/upstream_utils/upstream_utils.py b/upstream_utils/upstream_utils.py index 6512374adb5..7c91530949d 100644 --- a/upstream_utils/upstream_utils.py +++ b/upstream_utils/upstream_utils.py @@ -454,10 +454,10 @@ def reset(self): subprocess.run(["git", "switch", "--detach", self.old_tag]) - self.set_root_tag(self.old_tag) - self.apply_patches() + self.set_root_tag(self.old_tag) + def rebase(self, new_tag): """Rebases the patches.