This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Git and GCC


>>>>> "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

On my machine, it takes 856M with a checkout copy of trunk and
contains the trunk, autovect, fixed-point, 4.1 and 4.2 branches. In
comparaison, my checked out copy of trunk using SVN requires 1.2G, and
I don't have any history around...

  Sam
-- 
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]