Converted git repository missing 2 years of history

Thiago Macieira thiago at kde.org
Fri Sep 15 18:18:06 UTC 2017


On Friday, 15 September 2017 09:26:35 PDT Nicolás Alvarez wrote:
> > El 15 sept 2017, a las 13:19, John Lawlor <jk.lawlor at gmail.com> escribió:
> > 
> > Hi,
> > 
> > I have converted a large SVN repo to git using svn2git. The repo is 5G on
> > disk:
> > 
> > [johnl at pluto:/u01/conversion/tools/bin ]$ du -sh VoltComponents/
> > 5.4G    VoltComponents/
> > [johnl at pluto:/u01/conversion/tools/bin ]$
> 
> Note that git-fast-import produces very badly compressed repositories. I
> recommend running 'git gc --aggressive' after converting.
> > When I push it up to the server, it is only pushing 1.5GB of data, and the
> > repository is missing two years of commits.
> > 
> > I am not sure what is happening...
> 
> Does your converted repository have multiple branches? Are you pushing them
> all? A 'git push' might only push the current branch...

Take the git push out of the equation.

Is the local repository missing those commits?

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center



More information about the Kde-scm-interest mailing list