Re: files from subversion repo mounted as webDAV, get zeroed out shortly after writing
From: Ryan Schmidt <subversion-2012a_at_ryandesign.com>
Date: Wed, 11 Jan 2012 10:05:38 -0600
On Jan 11, 2012, at 02:17, Tom wrote:
> I have a subversion repo exposed through mod_dav_svn and the option "SVNAutoversioning on" and am using fusefs with davfs2 to mount the repo on my linux desktop fedora 15.
Well something zeroes the files. I don't think it's the server.
When this happens, is the last good version of the file, before it was zeroed, still in the repository history? I mean: if the file contains "A" and you save it and all is well (file contains "A" in the repository), and then you change the file contents to "B" and save again and then notice the file has been zeroed, does the file in the repository contain "B" or still "A"?
Different editors probably employ different methods of saving files. Some might write a temporary file, then move it on top of the old file. Some might just zero the original file, then write the new one. Perhaps you would see different behavior (perhaps no failure) if you used a different editor.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.