subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Sperling <s...@elego.de>
Subject Re: persistent checksum errors if .svn/tmp cannot be created
Date Fri, 17 Jun 2016 10:21:27 GMT
On Fri, Jun 17, 2016 at 10:26:05AM +0200, Gunter Königsmann wrote:
> Dear all,
> 
> Not a bug in svn - but a thing svn could probably detect:
> 
> I've had reports from 2 users (and 3 cases on my own computer) that
> windows for some reason didn't let subversion create a .svn/tmp folder.
> Windows explorer was unable to create it, too, while cygwin's mkdir was
> able to do so. Clearly a windows problem. Anyways:
> 
> The result was that svn 1.9.4 started complaining about the checksum of
> all new files is wrong meaning that the working copy is broken. A svn
> cleanup tells at least that the tmp folder cannot be created. But
> afterwards it is kind of hard to recover from the problem: After
> renaming the file in the repo makes it work again. But if it is renamed
> back to its original name its checksum is broken again. Deleting the
> file in the repo and re-adding it works, but might not be the Right
> Thing to do.
> 
> => For other projects I would have filed a bug report that somewhere a
> check if the .svn/tmp directory exists/can be created is missing.
> Rationale: The fact that the directory creation fails clearly isn't
> svn's fault. But a little bit of extra paranoia after something that is
> physically impossible has happened once doesn't hurt.
> 
> For svn I have read it is wise to ask this list instead - which I do
> using this mail.
> 
> Kind regards,
> 
>  Gunter.

Hi Gunter,

I agree that this is a case of svn not providing a good error message.
Which is a known and log-standing problem in general, see
https://www.elegosoft.com/files/Downloads/Subversion_Day_2011/svn-day-berlin-2011_sperling_subversion-error-messages-demystified.pdf

For reference, could you post the error message you saw?
That would help with figuring out where we'd need to fix this.

Thanks,
Stefan

Mime
View raw message