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

git-svn: pulling from local mirror but committing via svn+ssh

From
MFMike Frysinger <vapier.adi@gmail.com>
Date
Dec 20, 2007, 16:21 UTC
Message-ID
<8bd0f97a0712200821j778c12a9g9d42bf02482d953c@mail.gmail.com>

i have local (fast) mirrors of the svn trees i use, so i normally keep everything pointing at those. when i need to commit, i use `svn switch --relocate ...` to flip to the svn+ssh master, and then flop back to the local mirror. it actually works out nicely.

my reading of git-svn(1) seems to indicate that git-svn cant really handle switching of repository URLs on the fly ? http://www.kernel.org/pub/software/scm/git/docs/git-svn.html

i tried tweaking my .git/config and changing the url to my svn+ssh, but it seems any modification in the URL just causes errors ... vapier@G5[ppc] git $ git-svn dcommit Use of uninitialized value in concatenation (.) or string at /usr/bin/git-svn line 384. Committing to ... Unable to determine upstream SVN information from HEAD history

guess i'll have to bite the bullet and just clone the svn+ssh repo :/

(i'm using 1.5.3.7 over here) -mike

Next: Eric Wong
Message 1 of 4 in “git-svn: pulling from local mirror but committing via svn+ssh”
  1. Mike FrysingerDec 20, 2007
  2. Eric WongDec 22, 2007
  3. Sam VilainDec 22, 2007
  4. Mike FrysingerDec 22, 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.