Since in 5.4 file deletions are propagated ([feature-requests:#1499]), SVN team projects lose local files.
To see what files are deleted, before and after checkouts, the list of checked out files is compared. This works fine for Git, but for SVN not always. In case OmegaT checks out a single fie like omegat/project_save.tmx, in SVN not all files are checked out, but only all files in the same folder (e.g. omegat/). All source files are gone, and thus the deletion of them is propagated.
Solutions:
- disable the feature for SVN
- replace implementation with something that marks 'last full checkout', and checks the logs for file deletions since the last full checkout, on project load
It sounds like temporarily disabling the feature for SVN is the right choice if a comprehensive fix is at all difficult.
And why are file deletions propagated? Wouldn't it be safer and wiser to revert that change and not letting many Subversion users with no alternative than moving projects to another system?
Can you please see if the issue is resolved in this build?
(Inside the outer ZIP is an inner ZIP; inside that is the build.)
Are you interested in helping confirm the fix?
I've tried the 5.5 nightly build and the bug seems to be fixed. I haven't
tested it extensively though.
Last edit: Aaron Madlon-Kay 2021-03-22
Could I get you to test the 5.4.2 build I linked to?
https://sourceforge.net/p/omegat/bugs/1036/#77fa/61f8
Tested with 5.4.2 linked above. Target file created.
Thank you.
Since this feature is significantly more complicated than it initially seemed, and the timeline for v5.5 is not yet clear, I would like to put out v5.4.2 with it disabled for SVN.
I have created a new branch
release/5.4.2. Could you disable the feature for SVN directly on that branch?Diff:
Related
Feature Requests:
#14995.4.2: disabled propagation for file deletions hwen using svn
5.5.0: reimplemented (fixed) file deletion propagation for svn
Thank you!
Diff:
The temporary fix is released in 5.4.2, but I will keep the ticket open until 5.5 is out with the real fix.
Final fix released in OmegaT 5.5.0.