~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transform.py

(vila) Generate a 'duplicate' conflict instead of a 'content' conflict when
 the same path is involved in both branches. (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3068
3068
                existing_file, new_file = conflict[2], conflict[1]
3069
3069
            else:
3070
3070
                existing_file, new_file = conflict[1], conflict[2]
3071
 
            new_name = tt.final_name(existing_file)+'.moved'
 
3071
            new_name = tt.final_name(existing_file) + '.moved'
3072
3072
            tt.adjust_path(new_name, final_parent, existing_file)
3073
3073
            new_conflicts.add((c_type, 'Moved existing file to',
3074
3074
                               existing_file, new_file))