This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Git and GCC
Harvey Harrison <harvey.harrison@gmail.com> writes:
> On Wed, 2007-12-05 at 21:23 +0100, Samuel Tardieu wrote:
>> >>>>> "Daniel" == Daniel Berlin <dberlin@dberlin.org> writes:
>>
>> Daniel> So I tried a full history conversion using git-svn of the gcc
>> Daniel> repository (IE every trunk revision from 1-HEAD as of
>> Daniel> yesterday) The git-svn import was done using repacks every
>> Daniel> 1000 revisions. After it finished, I used git-gc --aggressive
>> Daniel> --prune. Two hours later, it finished. The final size after
>> Daniel> this is 1.5 gig for all of the history of gcc for just trunk.
>>
>> Most of the space is probably taken by the SVN specific data. To get
>> an idea of how GIT would handle GCC data, you should clone the GIT
>> directory or checkout one from infradead.org:
>>
>> % git clone git://git.infradead.org/gcc.git
>>
>
> Actually I went through and created the basis for that repo. It
> contains all branches and tags in the gcc svn repo and the final
> pack comes to about 600M. This has _everything_, not just trunk.
Not everything. Only trunk and a few selected branches, and no tags.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."