Project

General

Profile

Actions

Bug #6406

closed

merge all function may not checkout branch correctly

Added by Vincent MEMBRÉ almost 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Category:
Rudder dev tools
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In some cases, merge all does not work correctly, It may not be able to update and checkout branch correctly before merge.

Here is a small example:

https://gist.github.com/VinceMacBuche/46cf72cbb7b6096dc61f

main extract

 $ git merge branches/rudder/2.11
Merge made by the 'recursive' strategy.
ncf-api-virtualenv/debian/conffiles | 2 +-
ncf-api-virtualenv/debian/dirs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
$ git push NRM branches/rudder/3.0
Counting objects: 15, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 370 bytes | 0 bytes/s, done.
Total 3 (delta 2), reused 0 (delta 0)
To git@github.com:Normation/rudder-packages.git
b228eae..512ff82 branches/rudder/3.0 -> branches/rudder/3.0
Checkouting branches/rudder/3.0
$ git checkout branches/rudder/3.0
Déjà sur 'branches/rudder/3.0'
Votre branche est à jour avec 'NRM/branches/rudder/3.0'.
Pulling on NRM/branches/rudder/3.0
$ git pull --ff-only
Already up-to-date.
Pulling on NRM/branches/rudder/3.0
$ git pull --ff-only
Already up-to-date.
Merging 3.0 into master
$ git merge branches/rudder/3.0
Already up-to-date.
$ git push NRM master
To git@github.com:Normation/rudder-packages.git
! [rejected] master -> master (non-fast-forward)
error: impossible de pousser des références vers 'git@github.com:Normati
Actions #1

Updated by Benoît PECCATTE almost 10 years ago

  • Target version set to master
Actions #2

Updated by Benoît PECCATTE almost 10 years ago

  • Status changed from New to In progress
Actions #3

Updated by Benoît PECCATTE almost 10 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Vincent MEMBRÉ
  • Pull Request set to https://github.com/Normation/rudder-tools/pull/47
Actions #4

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset rudder-tools|commit:1e6de73f00b9a13931dd17c948425859b53b0443.

Actions #5

Updated by Vincent MEMBRÉ over 9 years ago

Applied in changeset rudder-tools|commit:15c5af9d1e6c034d11e0b31462c6fada2c617416.

Actions #6

Updated by Benoît PECCATTE over 9 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF