Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Subversion to Git Conversions
- Date: Wed, 28 Oct 2009 16:43:52 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: Re: [tlug] Subversion to Git Conversions
- References: <1d581afe0910250143p6b8e0e77uf0ec8655acb5a005@example.com> <12d14f3b0910250302t3bcc42e5lc1cbfe59e6899b32@example.com> <20091025130153.GW4939@example.com> <20091025131645.7287f265@example.com> <20091025143219.GD4939@example.com> <20091025161116.1c9ee911.attila@example.com> <20091028032841.GD8540@example.com> <87vdi06taq.fsf@example.com> <20091028055845.GI8540@example.com> <87my3c6mer.fsf@example.com>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2009-10-28 15:51 +0900 (Wed), Stephen J. Turnbull wrote: > Curt Sampson writes: > > > I also think I'm getting a handle on the "remote tracking refs" > > that git svn is putting in; I just create head refs on those, right? > > You generally do not want to do that, if I understand what you're > talking about correctly. Remote refs need to stay in synch with the > remote repo, so that should all be handled under the hood. > > Of course you can do "git branch <branchname> <remote tracking ref>" > all you like, if that's what you meant. That was my exact intent. The plan I have been experimenting with is to do a "git svn clone" of the appropriate bit of my svn repo into a bare repo and declare that the "master" for the moment. However, nobody who clones that master can see the tracking refs for the branches, right? So I have to create the branches in the "master" git repo. Then, so long as I have only commits from that point onward, I can maintain the svn repo in sync by just doing a "git svn dcommit" on a regular basis, and even continue to use svn checkouts (so long as they don't commit!). If I have to roll back after a while, we just all switch back to svn and all is happy. Otherwise at some point I declare the svn repo to be suitable for off-line archiving, and take it down. Does that seem at all sensible? > > (By the way, I do realize that a lot of these issues I'm worried > > about are caused by svn, not git. But I'm sure you can realize why > > anybody without much git experience would be a bit nervous about > > commiting years of svn history to it and resolving never to go > > back.) > > Even if you were a git expert, you should think twice about that IMO. Thinking twice about this is precisely what I'm doing now. :-) > ...Subversion is *much* more reliable, and you don't want to switch > that until the client requests -- unless there are *really* big > benefits to offer in return, of course. I see it as slaying a lot of small-to-moderate annoyances, in trade for Yet Another VCS Learning Curve. CVS to Subversion was a lot more tricky than I would guess most developers would think (at least those who've never done any serious repo administration). With git I have the advantage of having done this once before, but the disadvantage of moving to a system that's got much larger differences from the old one. I think git is mature enough these days that I'm far from the bleeding edge on this. And I find gitosis, the prospect of much better failover characteristics, and painless offline operation to be fairly convincing arguments for git. (Oh, and did I meantion CHEAP BRANCHING! :-)) cjs -- Curt Sampson <cjs@example.com> +81 90 7737 2974 Functional programming in all senses of the word: http://www.starling-software.com
- Follow-Ups:
- Re: [tlug] Subversion to Git Conversions
- From: Lars Kotthoff
- Re: [tlug] Subversion to Git Conversions
- From: Stephen J. Turnbull
- Re: [tlug] Subversion to Git Conversions
- From: Attila Kinali
- References:
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Ian Barwick
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Johan Berntsson
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Curt Sampson
- Re: [tlug] linux@example.com How many widely can we do that?
- From: Lars Kotthoff
- [tlug] Git Under Windows (Was: linux@example.com)
- From: Curt Sampson
- Re: [tlug] Git Under Windows (Was: linux@example.com)
- From: Attila Kinali
- Re: [tlug] Git Under Windows (Was: linux@example.com)
- From: Curt Sampson
- Re: [tlug] Git Under Windows (Was: linux@example.com)
- From: Stephen J. Turnbull
- [tlug] Subversion to Git Conversions
- From: Curt Sampson
- [tlug] Subversion to Git Conversions
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: [tlug] OmegaT in Tokyo (and Kochi)
- Next by Date: Re: [tlug] Subversion to Git Conversions
- Previous by thread: [tlug] Subversion to Git Conversions
- Next by thread: Re: [tlug] Subversion to Git Conversions
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links