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

Re: t9107-git-svn-migrate.sh fails

From
EWEric Wong <normalperson@yhbt.net>
Date
May 26, 2007, 09:35 UTC
Message-ID
<20070526093534.GB12639@muzzle>
In-Reply-To
<Pine.LNX.4.64.0705242315550.4648@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 33 quoted lines
> Hi,
> 
> I recently wanted to use git-svn, and installed the svn perl bindings. 
> Since then, t9107 is failing:
> 
> -- snip --
> [...]
> Rebuilding .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 
> ...
> r1 = b9b82a419abdbb54f51a41bc8a3118b28c791ac1
> Done rebuilding 
> .git/svn/git-svn/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6
> diff --git 
> a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6 
> b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db
> index d3f1b6e..01d8afd 100644
> --- 
> a/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6
> +++ b/home/gene099/my/git/t/trash/.git/svn/trunk/.rev_db
> @@ -1,2 +1 @@
> -0000000000000000000000000000000000000000
> -6aa651a66730888e854a8de54199d62ffa402739
> +.rev_db.f944dda1-3e31-0410-9475-8f268450faf6
> \ No newline at end of file
> * FAIL 7: .rev_db auto-converted to .rev_db.UUID
> 
>                 git-svn fetch -i trunk &&
> 		[...]
> -- snap --
> 
> Usually I try to fix things like this myself, but I really have to get 
> some dinner now. Besides, other people than me seem to be way more clever 
> with perl code.

.git/svn/trunk/.rev_db should be a symlink to .git/svn/trunk/.rev_db.f944dda1-3e31-0410-9475-8f268450faf6

I keep .rev_db around as a symlink for backwards compatibility in case the user wants to downgrade.

I'm running cmp(1) to compare the file and symlink. Are you running diff2[1] replacements in your tree and it's not understanding symlinks?

> Anybody knows how to fix this?
Works for me(TM).

[1] - I think that's what you called it. I have had trouble keeping up-to-date with git things lately.

-- 
Eric Wong
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 2 of 5 in “t9107-git-svn-migrate.sh fails”
  1. Johannes SchindelinMay 24, 2007
  2. Eric WongMay 26, 2007
  3. Johannes SchindelinMay 26, 2007
  4. Eric WongMay 27, 2007
  5. Junio C HamanoMay 27, 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.