+++ This bug was initially created as a clone of Bug #2039224 +++ $ git review Errors running git rebase -p -i remotes/gerrit/master fatal: --preserve-merges was replaced by --rebase-merges It is likely that your change has a merge conflict. You may resolve it in the working tree now as described above and then run 'git review' again, or if you do not want to resolve it yet (note that the change can not merge until the conflict is resolved) you may run 'git rebase --abort' then 'git review -R' to upload the change without rebasing. See https://bugs.archlinux.org/task/73058 for an explanation. Needs updating to include https://opendev.org/opendev/git-review/commit/7182166ec00ad3645821435d72c5424b4629165f. git-review-1.28.0-10.fc35.noarch git-2.34.1-1.fc35.x86_64 --- Additional comment from Dmitry Tantsur on 2022-01-11 10:07:25 UTC --- Note that git-review 2.2.0 actually includes the fix. 1.28.0 is from 2019, so an update is overdue. --- Additional comment from Dmitry Tantsur on 2022-01-11 10:09:52 UTC --- diff --git a/git_review/cmd.py b/git_review/cmd.py index b248b46..c264eb7 100644 --- a/git_review/cmd.py +++ b/git_review/cmd.py @@ -852,9 +852,9 @@ def rebase_changes(branch, remote, interactive=True): sys.exit(1) if interactive: - cmd = "git rebase -p -i %s" % remote_branch + cmd = "git rebase --rebase-merges -i %s" % remote_branch else: - cmd = "git rebase -p %s" % remote_branch + cmd = "git rebase --rebase-merges %s" % remote_branch (status, output) = run_command_status(cmd, GIT_EDITOR='true') if status != 0: --- Additional comment from Pete Zaitcev on 2022-01-11 19:35:15 UTC --- Indeed, we're behind with packaging of 2.2.0. Worse, the whole shebang needs to be fast-tracked for the benefits of CentOS etc. See this PR https://src.fedoraproject.org/rpms/git-review/pull-request/3 --- Additional comment from Francisco Seruca Salgado on 2022-01-20 11:09:43 UTC --- Hi Dmitry Tantsur, I had the same issue, a temporary fix is to downgrade your git version. --- Additional comment from Fedora Update System on 2022-02-11 16:12:54 UTC --- FEDORA-2022-d807d9cd76 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d807d9cd76 --- Additional comment from Fedora Update System on 2022-02-12 01:39:36 UTC --- FEDORA-2022-d807d9cd76 has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-d807d9cd76` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d807d9cd76 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. --- Additional comment from Fedora Update System on 2022-02-19 01:31:42 UTC --- FEDORA-2022-d807d9cd76 has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report. ------------------------------------------------------------------------------- The bug is also present on Fedora 34 where git-review 1.28 is the most recent release available[0]. Would it be possible to either make the 2.20 version available on F34 or to backport the necessary fixes to make it compatible with more recent versions of git? [0]https://src.fedoraproject.org/rpms/git-review
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. Thank you for reporting this bug and we are sorry it could not be fixed.