On 02.02.2017 11:30, Bijewitz, Volker wrote: > Ok, thank you for explaining this. Yes, I understand that SVN is normalizing > the text files, so their real size may differ from client to client. > > > > Unfortunately I do not know if the user has got an working copy and where it > can be found . So the only way to solve this is creating once a local copy of > each file and store the real size in a DB referenced by the file URL and > revision number L.
Why would you do that? You'd effectively have to check out the file in a Subversion working copy to get the correct size (or reimplement Subversion's end-of-line conversion and keyword expansion logic, which I'd not recommend). The size of the file in the repository is as real as any other size. As are the contents. Does your plugin show file contents? If yes, does it perform keyword expansion and newline substitution, like the Subversion client would? If no, don't bother about tweaking the reported size. -- Brane