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

Re: Question about git-svn import

From
Pascal Obry <pascal.obry@gmail.com>
Date
Dec 20, 2007, 16:30 UTC
Message-ID
<476A98BB.8000900@obry.net>
In-Reply-To
<20071218153159.GA12549@alea.gnuu.de>
Jörg,
I have at least one remaining problem.

# Import old trunk into pre/master $ git svn init svn+ssh://myserver --prefix=pre/ --trunk=importfromcvs/trunk $ git svn fetch --revision=9458:10242

# Import new trunk into post/master $ git config svn-remote.svn.fetch trunk/PROJ:refs/remotes/post/trunk $ git svn fetch --revision=11058:11066

# Rewrite post/trunk on top of pre/trunk into merged-master $ git checkout post/trunk $ git checkout -b merged-master $ git-filter-branch --tag-name-filter cat --parent-filter "sed -e 's/^$/-p $(git rev-parse pre/trunk)/'" merged-master

The problem is that at this point I cannot "git svn rebase". Looks like the filter-branch command did break the link between the Subversion repository and the git svn one:

$ git svn rebase Unable to determine upstream SVN information from working tree history

Is there a way around that ?

Thanks, Pascal.

-- 
--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595
Previous: Pascal ObryNext: Jörg Sommer
Message 6 of 8 in “Question about git-svn import”
  1. Pascal ObryDec 17, 2007
  2. Steven WalterDec 18, 2007
  3. Pascal ObryDec 18, 2007
  4. Jörg SommerDec 18, 2007
  5. Pascal ObryDec 19, 2007
  6. Pascal ObryDec 20, 2007
  7. Jörg SommerDec 20, 2007
  8. Pascal ObryDec 21, 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.