I am trying to find out how svn stores text files internally.
For eg: I have an SVN repo, with the following sub-directory structure,
dirA/file_xx - say size 10MB
dirB/file_xx - identical file, but a copy - size is same 10MB
My question is, will SVN store 2 copies of the file internally even though they are identical or does it figure out, that it is a copy and store only 1 file with a total size of 10MB.
I tried the same test on GIT and was able to verify, that it was indeed only storing 1 copy. The online git documentation also had a mention of the same.
Since i have access to the SVN server, i tried doing a du -hs
on the SVN DB and it seems like, SVN also stores just 1 copy of the file. I am unsure if this is because the files are compressed or because if it is indeed storing only 1 copy of the file.
PS:I am not interested in the size after multiple checkin's or deltas. Just the size of the repo after the initial checkin.
Thanks Abhi