<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif;font-size:large"><span style="font-family:arial,sans-serif;font-size:small">On Mon, May 14, 2018 at 3:02 AM, Carsten Mattner via llvm-dev </span><span dir="ltr" style="font-family:arial,sans-serif;font-size:small"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span><span style="font-family:arial,sans-serif;font-size:small"> wrote:</span><br></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 5/13/18, Bruce Hoult via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br>
> Yes, it's not bad. You can actually reduce the size of the .git<br>
> directory to 597 MB by running "git repack -a -d -f --depth=250<br>
> --window=250". This takes less than 5 minutes on a 16 core Xeon.<br>
<br>
</span>You can also svn checkout any GitHub branch if that's something that<br>
you might need.<br>
<br>
<a href="https://help.github.com/articles/support-for-subversion-clients/" rel="noreferrer" target="_blank">https://help.github.com/<wbr>articles/support-for-<wbr>subversion-clients/</a><br>
<br>
Disk space won't be saved this way because svn doesn't have<br>
compressed pack files. Interesting enough a checkout of trunk is<br>
1.6GB but doesn't need to transfer anywhere near 1.6GB. Subsequent<br>
updates will be fast, but I'm sure you can use git history so this<br>
isn't practical anyway, I guess.<br></blockquote><div><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">svn keeps a complete uncompressed copy of the checkout in the .svn directory, so it can figure out what you changed. That's, yes, 795 MB at the moment (github monorepo is 1.1 GB plus 795 MB of checked out src, for 1.9 GB of total size).</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">If you use svn+ssh then hopefully ssh is at least gzipping that for the transfer. A .tgz of the src (after moving the .git repo out of the directory) is 111 MB.</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large">It's quite remarkable really that svn uses as much space for a single uncompressed copy of the source code as git uses for the entire project history.</div><div class="gmail_default" style="font-family:"times new roman",serif;font-size:large"><br></div></div></div></div>