Git development
 help / color / mirror / Atom feed
* git-svn in 1.5.4~rc2 somewhat broken?
@ 2007-12-30 13:09 Florian Weimer
  2007-12-30 16:07 ` Steven Walter
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Weimer @ 2007-12-30 13:09 UTC (permalink / raw)
  To: git

I just tried to run "git svn fetch" on a clone of a Subversion
repository that used to work fine with 1.5.3.  After trying to fix some
things up (sorry, scrollback buffer is not deep enough), it now reports
an index mismatch:

Index mismatch: efcc3165fb64519ff1784903112d725c8682d5d2 != b3e7f07b5e4b79f682718fe6a31107d74ca35ce6

And it finally bails out with:

Last fetched revision of refs/remotes/git-svn was r45313, but we are about to fetch: r851!

This doesn't make sense because all paths (both log messages and
.git/config) refer to:

  http://llvm.org/svn/llvm-project/llvm/trunk

And this repository certainly contains revisions after r851.

With other repositories, it also peforms an index rebuild, but succeeds.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn in 1.5.4~rc2 somewhat broken?
  2007-12-30 13:09 git-svn in 1.5.4~rc2 somewhat broken? Florian Weimer
@ 2007-12-30 16:07 ` Steven Walter
  2007-12-30 16:33   ` Florian Weimer
  0 siblings, 1 reply; 3+ messages in thread
From: Steven Walter @ 2007-12-30 16:07 UTC (permalink / raw)
  To: Florian Weimer; +Cc: git

On Sun, Dec 30, 2007 at 02:09:28PM +0100, Florian Weimer wrote:
> I just tried to run "git svn fetch" on a clone of a Subversion
> repository that used to work fine with 1.5.3.  After trying to fix some
> things up (sorry, scrollback buffer is not deep enough), it now reports
> an index mismatch:
> 
> Index mismatch: efcc3165fb64519ff1784903112d725c8682d5d2 != b3e7f07b5e4b79f682718fe6a31107d74ca35ce6
> 
> And it finally bails out with:
> 
> Last fetched revision of refs/remotes/git-svn was r45313, but we are about to fetch: r851!

Messages like these usually mean you've changed refs/remotes/trunk,
which will confuse git-svn unless you know what you're doing.
Fortunately, you can usually "rm -rf .git/svn" and git-svn will sort
itself out on the next fetch.
-- 
-Steven Walter <stevenrwalter@gmail.com>
Freedom is the freedom to say that 2 + 2 = 4
B2F1 0ECC E605 7321 E818  7A65 FC81 9777 DC28 9E8F 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: git-svn in 1.5.4~rc2 somewhat broken?
  2007-12-30 16:07 ` Steven Walter
@ 2007-12-30 16:33   ` Florian Weimer
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Weimer @ 2007-12-30 16:33 UTC (permalink / raw)
  To: Steven Walter; +Cc: git

* Steven Walter:

>> Last fetched revision of refs/remotes/git-svn was r45313, but we are
>> about to fetch: r851!
>
> Messages like these usually mean you've changed refs/remotes/trunk,
> which will confuse git-svn unless you know what you're doing.

Uhm, I don't recall doing such a thing.

> Fortunately, you can usually "rm -rf .git/svn" and git-svn will sort
> itself out on the next fetch.

Yeah, this has fixed it for me.  Thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-12-30 16:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-30 13:09 git-svn in 1.5.4~rc2 somewhat broken? Florian Weimer
2007-12-30 16:07 ` Steven Walter
2007-12-30 16:33   ` Florian Weimer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox