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][tlug] Subversion to Git Conversions
- Date: Wed, 28 Oct 2009 14:58:45 +0900
- From: Curt Sampson <cjs@example.com>
- Subject: [tlug] Subversion to Git Conversions
- References: <20091024084313.GA26730@example.com> <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>
- User-agent: Mutt/1.5.18 (2008-05-17)
On 2009-10-28 13:23 +0900 (Wed), Stephen J. Turnbull wrote: > Curt Sampson writes: > > > I'm not worried about whether git can handle Nk commits. The fears are: > > > > * Did I take the svn repos "apart" correctly when converting them > > to multiple git repos? > > Convert to one git repository first, and use git to do the > partitioning. git is *the* power tool when it comes to slicing, > dicing, and/or julienning your DAGs. Hm. There's a thought that hadn't occurred to me. Though it seems to me that that would make it considerably harder to go back to using SVN for a project or two if, say, it wasn't working out for a client. > > * Did I manage to correctly snag all of the branches and tags? > > If you convert to a single git repo first, you can get comparable > lists with "ls svn-repo/branches|sort" and.... It's a little more complex for me, since I don't keep branches under /branch, but under /whatever/project/branch. But that can be dealt with without too much difficulty. 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 may have problems with svn properties and svn externals (I don't > think git submodules are as well developed as svn externals, but > things change fast in the git world). The git ones do what I've often wanted when using svn. Unfortunately, they don't do the svn form of them, which I did use in a few places, and which I feel more need for under git (e.g., to make part of a project "read-only," as it were). Ah well. > git-filter-branch is your friend. I'll keep that in mind. That, however, looks it could make something like reverting a particular project to svn rather difficult.... (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.) 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:
- [tlug] Subversion to Git Conversions
- From: Stephen J. Turnbull
- References:
- [tlug] linux@example.com How many widely can we do that?
- From: Christian Horn
- 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
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] linux@example.com How many widely can we do that?
- Next by Date: Re: [tlug] linux@example.com How many widely can we do that?
- Previous by thread: Re: [tlug] Git Under Windows (Was: linux@example.com)
- Next by thread: [tlug] Subversion to Git Conversions
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links