Gentoo Archives: gentoo-dev

From: Markus Ullmann <jokey@g.o>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] GIT vs? SVN (was: Re: Re: [RFC] Some sync control)
Date: Thu, 25 Jan 2007 22:41:51
Message-Id: epbbh0$mca$1@sea.gmane.org
1 So to avoid thread hijacking, starting a new one.
2
3 I did some tests today and took sunrise overlay as testing ground.
4 It has roughly 2850 revisions. As a blog recommended, I fetched the raw
5 repo first to do the initial conversion to git.
6
7 Then all I did was a
8 git-svn init file:///home/jokey/sunrise-svn && git-svn fetch
9 It took 5 minutes and 12 secs for me on a not-so fast box. Then I had a
10 git repo that could do all the branching, file merging and stuff and it
11 sends it back to repo nicely. Even a reversion of a commit worked perfectly.
12
13 git log gave this output:
14 commit a8c35b8efe130fca7e2c3bb0d589a2d251f381c3
15 Author: ndansmith <ndansmith@12608f7e-a915-0410-b2f3-ce240db1b126>
16 Date: Thu Jan 25 03:35:02 2007 +0000
17
18 Removing old turl files in favor of surl
19
20 git-svn-id: file:///home/jokey/test/svn@2856
21 12608f7e-a915-0410-b2f3-ce240db1b126
22
23 So judging from this, I'd say we could use advantages of both. Those who
24 wish git can go for it (the git repo, as pointed out on this list, can
25 initially be fetched via rsync or tarballs or whatever comes in handy)
26 and those who dislike git can just go with svn and be happy with it.
27
28 Jokey
29
30 --
31 gentoo-dev@g.o mailing list

Replies