PreviousNextTracker indexSee it online !

(206/314) 3562057 - JDiff: apply patch does not verify

Regular patch command verifies if the previous version from the patch file matches the file being patched. If there are differences, the patch is not applied and the user is notified. JDiff applies the patch blindly that makes it dangerous to use.

Desired behaviour: make a check of contents before applying the patch. Stop applying the patch and point to the conflicting lines. Be smart to handle different line endings in patch file.

Checked on r22076, unified patch.

Submitted jarekczek - 2012-08-27 - 09:40:07z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No