Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #7715

Closed
Open
Created 10 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

Removing and pushing to branch with existing MR makes it out of changes

Closed

Removing and pushing to branch with existing MR makes it out of changes

Created by: qfox

How to reproduce:

  • Push something to a branch test
  • Create MR for branch test
  • git push origin :test
  • git push origin test
  • Open MR again

After rebasing branch, we removing it and pushing again. It makes existing MR empty. It still contains old commits but Changes tab shows 0 changes.

How to force gitlab to refresh branch? Probably branch removes should trigger branch cache drop or something else?

Version 7.1 community

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 10 years ago
      Owner

      Created by: jchristi

      👍 I'm using 6.5, and the behavior I see is a little different though ultimately the same (all the previous changes still show, but no new changes show). The work around is to edit the MR and click save (don't have to actually edit anything). It would be great if I did not have to do this step though.

      By Administrator on 2014-09-09T11:36:58 (imported from GitLab project)

    • Administrator
      Administrator @root · 10 years ago
      Owner

      Created by: qfox

      @jchristi Yes, in previous version it was a little bit better. ;-) But not now. ;-(

      And now there is no branch selector in edit form. So I can't change it twice to force refreshing MR.

      By Administrator on 2014-09-09T11:39:55 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference:

    Menu

    Projects Groups Snippets
    Help