Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Sep 2020 15:16:38 +0200
From:      Olivier Certner <olivier.freebsd@free.fr>
To:        Thomas Mueller <mueller6722@twc.com>
Cc:        freebsd-current@freebsd.org, freebsd-git@freebsd.org, Mathieu Arnold <mat@freebsd.org>
Subject:   Re: Please check the current beta git conversions
Message-ID:  <2970281.0P3pStmDMi@ravel>
In-Reply-To: <20200902122759.b6zhbc4qa4jgicdx@aching.in.mat.cc>
References:  <CAPyFy2CTTecRJDnXNvF%2BM2%2BaLWJpA%2BEdG43ZeU3qwsCruecoFA@mail.gmail.com> <cmu-lmtpd-69476-1599014331-0@prod2.absolight.net> <20200902122759.b6zhbc4qa4jgicdx@aching.in.mat.cc>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

> > 2.5 GB in .git directory sounds crazy and incomprehensible to me.
> 
> 2.5GB is for the full history, if you only care about the main branch,
> you can clone with:
> 
> (snip)

I do not reproduce this, but instead see `du` reporting 1.2GiB just after a 
simple clone (no options), which AFAIK contains the whole history.

I have a complete mirror of SVN that I update with scripts around `svnrdump 
dump` and `svnadmin load`, and its size is 6.1GiB (I pack it regularly).

For the record, here are the sizes of the `.svn` directories of some checkouts 
I currently have:
- stable/12 at rev 355888: 1.9GiB
- stable/12 at rev 361580: 2.4GiB
- head at rev 361584: 2.7GiB
I must point out that I don't remember the exact creation history of these. It 
is probable that, to create new ones, I did full copies (`cp -a`) of an old 
one followed by `svn switch`. Don't know if this can have an influence on 
these numbers (didn't test with pristine checkouts).

Important tip: When using `du`, don't forget to pass the '-A' option, 
especially if using ZFS + compression.

-- 
Olivier Certner





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2970281.0P3pStmDMi>