bzr diff option to show renames as add and delete

Bug #40472 reported by Martin Pool
4
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned
Breezy
Triaged
Wishlist
Unassigned

Bug Description

This relates to "bzr diff" between trees where some files have been both renamed and modified.

Normally bzr diff shows just the change in the text of the file. This is the most useful form for human review.

However, this output can't be just piped into patch, because it doesn't understand our markers for renamed files, and never renames files. If the files/directories are renamed first by a script or by hand patch will be OK.

It would be nice if there were a diff option to show renames as add/delete pairs, suitable for patch.

See also

https://lists.ubuntu.com/archives/bazaar-ng/2006q1/010269.html

Tags: diff renames
Martin Pool (mbp)
Changed in bzr:
status: Unconfirmed → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
Jelmer Vernooij (jelmer)
tags: removed: check-for-breezy
Changed in brz:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: mv renames
tags: added: diff
removed: mv
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.