[LLVMdev] svn mirror git?

Michael Spencer bigcheesegs at gmail.com
Thu Nov 15 11:35:41 PST 2012


On Thu, Nov 15, 2012 at 10:48 AM, David Chisnall
<David.Chisnall at cl.cam.ac.uk> wrote:
>> > I think svn works better than git as an authoritative upstream
>>
>> Would you mind expanding on this?  What problem specifically is being solved?  Linus and Guido both use DVCS's and the authoritative upstream is whatever URL the BDFL says it is.
>
> Monotonic version numbers are the biggest advantage.  It is easy to see that r1234432 contains the bug fix introduced in r1234430. It is very hard to see if version 23bef194ac contains the bug fix added in 23bef19412.  This makes interaction with bugzilla and so on much easier.  If someone says 'please test r1245145 - should be fixed' you can easily check whether you are running r1245145 or newer.
>
> David

git branch --contains 23bef19412

This will tell you which of your branches have that commit and
highlight the current branch you are on.

Git also has monotonically increasing identifiers for each commit. The
time stamp. Which I find much more informative than a revision number
split between multiple repositories.

As for actually switching to git. I see no benefit to justify the cost
of switching unless we actually take advantage of git's features. And
I've yet to see anyone propose this. So for now, git-svn works for me.

- Michael Spencer




More information about the llvm-dev mailing list