Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-20062

Improve Push to Gerrits default target branch selection

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Done
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 4.6.0-rc1
    • None

      It happens to me all the time (and sometimes to my colleagues also), that I push to the wrong branch. That is no problem in general, but leads to extended work (abandon the wrong change, maybe modify the commit again because Gerrit refuses the push with "no new changes").

      While Push to Gerrit often chooses the correct target branch by itself, it fails e.g. after checking out a patch from Gerrit or if you work on a stable branch but want to push to dev.

      It would be nice to have one of the two options:

      1. Push to Gerrit detects if the push contains an update of an existing patch (by Change-ID) set and selects the correct target branch therefore
      2. The target branch is not selected at all and must be choosen by the user to avoid wrong pushes. This could be an option.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            orgads Orgad Shaneh
            aha_1980 André Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes