git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: t9107-git-svn-migrate.sh fails
Date: Sat, 26 May 2007 02:35:34 -0700	[thread overview]
Message-ID: <20070526093534.GB12639@muzzle> (raw)
In-Reply-To: <Pine.LNX.4.64.0705242315550.4648@racer.site>

Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> 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

  reply	other threads:[~2007-05-26  9:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-24 22:18 t9107-git-svn-migrate.sh fails Johannes Schindelin
2007-05-26  9:35 ` Eric Wong [this message]
2007-05-26 10:30   ` Johannes Schindelin
2007-05-27 17:23     ` Eric Wong
2007-05-27 18:50       ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070526093534.GB12639@muzzle \
    --to=normalperson@yhbt.net \
    --cc=Johannes.Schindelin@gmx.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).