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

Re: [PATCH v2] git-svn: make rebuild respect rewriteRoot option

From
Joey Hess <joey@kitenet.net>
Date
Jun 24, 2008, 02:11 UTC
Message-ID
<20080624021126.GA31093@kodama.kitenet.net>
In-Reply-To
<20080624021736.2d272d9c@neuron>
Jan Krüger wrote:
Show 10 quoted lines
> Suppose someone fetches git-svn-ified commits from another repo and then
> attempts to use 'git-svn init --rewrite-root=foo bar'. Using git svn rebase
> after that will fail badly:
> 
>  * For each commit tried by working_head_info, rebuild is called indirectly.
>  * rebuild will iterate over all commits and skip all of them because the
>    URL does not match. Because of that no rev_map file is generated at all.
>  * Thus, rebuild will run once for every commit. This takes ages.
>  * In the end there still isn't any rev_map file and thus working_head_info
>    fails.

Very timely, I had just been beating my head against this problem. Your patch works great for me.

-- 
see shy jo
Previous: Jan Krüger
Message 2 of 2 in “git-svn: make rebuild respect rewriteRoot option”
  1. git-svn: make rebuild respect rewriteRoot optionJan Krüger, Jun 24, 2008
  2. Joey HessJun 24, 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.