| Summary: | Replace with Revision fails to notice trivial changes on locked files | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Technology] Subversive | Reporter: | Neels Hofmeyr <neels> | ||||
| Component: | Core | Assignee: | Igor Burilo <igor.burilo> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | neels | ||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=294610 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Neels Hofmeyr
Created attachment 200910 [details]
discard trivial error by comparing file (first size, and, if needed, then content as well)
Hi Neels, I've applied the patch with some insignificant changes. So, please check if there are any changes in the logic of what it is doing now (I'm pretty sure there shouldn't be any). Thanks for applying the patch! (r21043) I see that you have changed the order, so the code checks beforehand if the destination file is not writable. It also properly closes the BufferedReader/Writer. I think your tweaks make it less fragile, very good. Comment on attachment 200910 [details]
discard trivial error by comparing file (first size, and, if needed, then content as well)
Set iplog flag
|