I'm using svn. I've a directory called addons that I've done commit to svn, than I did checkout.
Before Svn, the directory occupied 913M:
# du -chs *
913M addons
After doing checkout to a directory addons_svn:
# svn co http:..../addons addons_svn
# du -chs *
1.9G addons_svn
It is normal this difference of space used ?
Thanks
This is perfectly normal. SVN holds a copy of the versioned files in order to be able to quickly check for changes.
Taken from https://gcc.gnu.org/wiki/SvnSetup (markup by me):
At the time of writing, a GCC snapshot takes around 320Mb of space. With Subversion 1.3, a typical GCC working copy takes between 640Mb and 700Mb of of space (depends on the filesystem, eg. reiserfs is better than ext3). The "wasted" space is because SVN keeps a double copy of each and every file to let common operations be totally offline and thus blazingly fast svn diff svn status etc.). Subversion 1.4 will probably have a way to compress this copy so to waste less space (or disable it altogether, but you probably don't want that).