Question: Is there a way in SVN to force a file update when a binary file is locked? This would appear to solve the issue we are having below, by forcing the locking action to update the file to the latest revision before editing.
Background: I am using SVN (TortoiseSVN) at work for revision control as an electrical engineer. Many of the files we have in SVN are binary design files which cannot be merged if there is a conflict. On these binary design files, we have the "svn:needs-lock" property set.
Issue: We have had a few cases where two engineers (Eng A and Eng B) have a binary file (File 1) checked out at the same revision (Revision 1000). Eng A locks File 1, makes edits, and then commits File 1, which means Eng A now has File 1 at Revision 1001.
Now Eng B wants to make an edit to File 1. However, he is still on Revision 1000 even though the latest changes in SVN repository are Revision 1001. Eng B locks File 1, makes his edit, and then commits his change and is now at Revision 1002.
The issue here is that when Eng B made his commit, his edit was not based on the changes of Eng A at Revision 1001, but instead his "outdated" Revision 1000. This results in Eng A's changes at Revision 1001 getting erased.