git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-svn and migration

From
Seth Falcon <seth@userprimary.net>
Date
Dec 19, 2007, 21:14 UTC
Message-ID
<m28x3qv12x.fsf@userprimary.net>
In-Reply-To
<320075ff0712191247m132ecd95o46a7778d8bd4f42b@mail.gmail.com>
"Nigel Magnay" <nigel.magnay@gmail.com> writes:
Show 22 quoted lines
> I was prepared to put up with it not being a bare repository (asides
> the extra /.git/ in the URL it's pretty much the same).
>
> On the git host I'd set refs/heads/trunk to be
>  ref: refs/remotes/svn/trunk
>
> And I'm hoping that a cron of git svn fetch ; git-update-server-info
> will do the trick.  It appeared to keep it in sync when I fetch
> downstream. I don't know if I'm being naive though expecting that to
> work as I don't grok all that git-svn needs to work properly - but I'm
> working on it ;-)
>
> My current plan is for developers to push/pull to git to share amongst
> the git-devs, and to push to svn when wanting to share with everyone
> else..
>
> [svn user] ---(ci/co)--->[svn] --pull--> [git]
>                             ^               ^
>                            |               |
>                           push          push/pull
>                             |               |
>                            ---[git user]----

I suspect having the git users push/fetch only from svn would be more reliable. Won't there be problems if git users do merges and push to the git repo?

Also, seems like it makes the transition more complicateds for git users since they have to figure out git-svn _and_ the git push/pull.

Perhaps avoid the central git repo until everyone is on git. Then people have to learn not to use git-svn and to use push/pull instead.

My $0.02
+ seth
-- 
Seth Falcon | seth@userprimary.net | blog: http://userprimary.net/user/
Previous: Nigel Magnay
Message 5 of 5 in “git-svn and migration”
  1. Nigel MagnayDec 19, 2007
  2. Steven WalterDec 19, 2007
  3. Miklos VajnaDec 19, 2007
  4. Nigel MagnayDec 19, 2007
  5. Seth FalconDec 19, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.