Open Bug 608420 Opened 14 years ago Updated 10 years ago

[PatchReader] diff doesn't show the correct target file if different

Categories

(Bugzilla :: Attachments & Requests, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: mnyromyr, Unassigned)

References

Details

<https://bugzilla.mozilla.org/attachment.cgi?id=484487> contains the following hg diff section header: diff --git a/suite/themes/classic/communicator/viewSourceOverlay.css b/suite/themes/classic/mac/communicator/viewSourceOverlay.css copy from suite/themes/classic/communicator/viewSourceOverlay.css copy to suite/themes/classic/mac/communicator/viewSourceOverlay.css --- a/suite/themes/classic/communicator/viewSourceOverlay.css +++ b/suite/themes/classic/mac/communicator/viewSourceOverlay.css Basically, this copies some file x/y/z over to a/b/c and does some changes there. Bugzilla diff now shows <https://bugzilla.mozilla.org/attachment.cgi?id=484487&action=diff#a/suite/themes/classic/communicator/viewSourceOverlay.css_sec1>: (-)a/suite/themes/classic/communicator/viewSourceOverlay.css (-5 / +1 lines) Which is completely wrong, that's NOT the changed file. Obviously, Bugzilla diff assumes that both source and target are identical, which is not true in this mercurial age...
Whiteboard: [PatchReader]
OS: Linux → All
Hardware: x86_64 → All
Summary: diff doesn't show the correct target file if different → [PatchReader] diff doesn't show the correct target file if different
Whiteboard: [PatchReader]
You need to log in before you can comment on or make changes to this bug.