Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-477

Gerrit does not create depency for patch

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 2011q4
    • Gerrit
    • None

    Description

      1. Select a patch from Gerrit.
        Let's call this patch A.
      2. Reset your local branch to A's parent, listed on it's Gerrit page.
      3. Cherry-pick patch A to your local branch.
      4. Create a new commit on top of patch A.
        Let's call this patch B.
      5. Push your local branch to Gerrit, using the same branch like patch A.
        Patch B will appear in Gerrit but it will not show the depedency to A.
        This is the output of git:
        C:\Users\rob\Git\creator>git push origin master:refs/for/master
        Counting objects: 25, done.
        Delta compression using up to 4 threads.
        Compressing objects: 100% (14/14), done.
        Writing objects: 100% (14/14), 1.37 KiB, done.
        Total 14 (delta 11), reused 0 (delta 0)
        remote: Resolving deltas:   0% (0/11)
        remote:
        remote: New Changes:
        remote:   http://codereview.qt-project.org/17476
        remote:
        To ssh://codereview.qt-project.org/qt-creator/qt-creator
         ! [remote rejected] master -> refs/for/master (no changes made)
        error: failed to push some refs to 'ssh://codereview.qt-project.org/qt-creator/qt-creator'
        

      Instead, the dependency to A should be shown even if no changes were made to A.

      Attachments

        Issue Links

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

          Activity

            People

              ishaataj Ismo Haataja
              rlohning Robert Löhning
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes