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 08:18:03 +0000
- From: Lars Kotthoff <lists@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> <20091028074352.GC22206@example.com>
> 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. If you're not sure about switching, it might be a better idea to keep SVN as the "real" master in the background, and a new "public" git repository in front of it. I.e. all the commits go to the new git repo (which has been cloned/merged from the svn repo) and are mirrored to the old svn repo in the background daily/commitly. Setting the mirroring up might be a bit tricky if you have weird branches, but if you can just clone you svn repo into git it'll be as easy as a git svn dcommit. The advantage of this method is that regardless of whether you decide to keep the svn repo or move to the git repo after a while, you can do it (almost) immediately without any further work. Lars
- Follow-Ups:
- Re: [tlug] Subversion to Git Conversions
- From: Curt Sampson
- 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
- Re: [tlug] Subversion to Git Conversions
- From: Curt Sampson
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Subversion to Git Conversions
- Next by Date: Re: [tlug] Subversion to Git Conversions
- Previous by thread: Re: [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