Use suffixes like moved.2 instead of moved.moved.moved in case of conflicts

Bug #600097 reported by Daniel Clemente
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

I recently reverted Emacs' trunk to a previous revision and today I ran bzr pull with latest bzr.dev. I got some conflicts:


Text conflict in src/ChangeLog
Conflict adding file src/ChangeLog.BASE. Moved existing file to src/ChangeLog.BASE.moved.
Conflict adding file src/ChangeLog.BASE.moved. Moved existing file to src/ChangeLog.BASE.moved.moved.
Conflict adding file src/ChangeLog.BASE.moved.moved. Moved existing file to src/ChangeLog.BASE.moved.moved.moved.
Conflict adding file src/ChangeLog.BASE.moved.moved.moved. Moved existing file to src/ChangeLog.BASE.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.BASE.moved.moved.moved.moved. Moved existing file to src/ChangeLog.BASE.moved.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.BASE.moved.moved.moved.moved.moved. Moved existing file to src/ChangeLog.BASE.moved.moved.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.OTHER. Moved existing file to src/ChangeLog.OTHER.moved.
Conflict adding file src/ChangeLog.OTHER.moved. Moved existing file to src/ChangeLog.OTHER.moved.moved.
Conflict adding file src/ChangeLog.OTHER.moved.moved. Moved existing file to src/ChangeLog.OTHER.moved.moved.moved.
Conflict adding file src/ChangeLog.OTHER.moved.moved.moved. Moved existing file to src/ChangeLog.OTHER.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.OTHER.moved.moved.moved.moved. Moved existing file to src/ChangeLog.OTHER.moved.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.OTHER.moved.moved.moved.moved.moved. Moved existing file to src/ChangeLog.OTHER.moved.moved.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.THIS. Moved existing file to src/ChangeLog.THIS.moved.
Conflict adding file src/ChangeLog.THIS.moved. Moved existing file to src/ChangeLog.THIS.moved.moved.
Conflict adding file src/ChangeLog.THIS.moved.moved. Moved existing file to src/ChangeLog.THIS.moved.moved.moved.
Conflict adding file src/ChangeLog.THIS.moved.moved.moved. Moved existing file to src/ChangeLog.THIS.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.THIS.moved.moved.moved.moved. Moved existing file to src/ChangeLog.THIS.moved.moved.moved.moved.moved.
Conflict adding file src/ChangeLog.THIS.moved.moved.moved.moved.moved. Moved existing file to src/ChangeLog.THIS.moved.moved.moved.moved.moved.moved.
48 conflicts encountered.
Now on revision 100667.

These file names are insane, and a mess to clean up. Better use ChangeLog.THIS.moved.1, ChangeLog.THIS.moved.2, ChangeLog.THIS.moved.3, etc. if we detect that ChangeLog.THIS.moved does already exist.

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Vincent Ladeuil (vila) wrote :

Right, I'll note that you need to repeatedly *ignore* the conflicts without any attempt to solve them nor to get rid of them to end up in this situation, in your case, I'd say at least 4 times.

I think bzr is trying to tell you that you really should cleanup your tree before doing further merges
(or any operation that can produce conflicts) and does it by being more and more vocal.

Cleaning this mess may require 'bzr resolve --all', 'bzr clean-tree --detritus' (use --dry-run first for the later).

Jelmer Vernooij (jelmer)
tags: added: conflicts
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.