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

Q: workflows when tied back to git-svn

From
Nigel Magnay <nigel.magnay@gmail.com>
Date
Mar 10, 2008, 14:15 UTC
Message-ID
<320075ff0803100715y2675c7aax6548535454083d52@mail.gmail.com>
Hi list;

We have a number of projects which currently are mastered in a centralised svn repo, and it makes use of svn:externals. It's becoming increasingly apparent (finally) that everyone working in the various project /trunks is not working, and what's really required is a number of branches. Also that the git submodule approach is superior (for our needs) to svn:externals.

Now ideally, I could swap us all over to git; I've been using git-svn for a while and it works very nicely (modulo not noticing the requirement to merge with --squash, which is obvious once you know!). How-ev-er.. the natives are revolting.. some people didn't even want to move to SVN from CVS let alone a new tool. Alas some people just don't like change.

I'm guessing I can give teams their branches in svn, and manage the merging back with git and git-svn - that way I'll retain some kind of sanity in repeated merging. For those devs with the right fu can start using git directly, and we slowly start deprecating the whole svn infrastructure a bit at a time.

Anyone got any experiences of doing this (particularly things to note, like the --squash thing that might trip us up, or workflows)? I've never tried dcommitting back to anything other than trunk..

Secondly (slightly related) - because of our svn:externals usage, we
tend to have a lot of repeated repo checkouts. I'm *assuming* that If
I've got 2 git modules that have the same submodules (e.g
A
  mod1
  mod2
B
 mod1
 mod2

Then it's 'safe' to make the mod1 and mod2 directories symlinks to the same directory?

Message 1 of 1 in “Q: workflows when tied back to git-svn”
  1. Nigel MagnayMar 10, 2008

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.