[Kde-scm-interest] git-svn import of SVN?

Johannes Sixt j.sixt at viscovery.net
Wed Nov 7 14:36:57 CET 2007


Riccardo Iaconelli schrieb:
> On Wednesday 07 November 2007 12:28:28 Johannes Sixt wrote:
>> There already exists an import at
>>
>>    http://userweb.kernel.org/~hpa/kdegit/
>>
>> but that one does not have branches. (If you want to download it, don't
>> clone from there, but d'l kdegit.tar.bz2.)
> 
> That's a 3 GB download. :O
> Will this really be the required disk space/bandwidth for people that want to 
> checkout KDE/??!?

If you want *all* of KDE and *all* the history: yes.

Well, no, it will be more: the above is only trunk (no branches) and only 
goes back to revision 300000 or so.

Therefore, we are using submodules. If you are only interested in kdeedu, 
then you need to checkout only that.

> Another thing that seems missing in git is the ability to (locally) remove 
> commits older than a certain period... I don't really want to get commits, 
> history and diffs up to KDE 3.5.8 forever...
> Maybe I'm wrong and such a thing does already exist, it's just that googling 
> hasn't led to any solutions. =)

It's there, it's called "shallow clone". However, don't expect a tremendous 
saving from that. I estimate that if you check out only the latest revision, 
then you have already 20% compared to if you download all the history. git 
is quite good at compressing history.

-- Hannes


More information about the Kde-scm-interest mailing list