git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn error
@ 2010-09-23 14:30 Nate Parsons
  2010-09-23 19:45 ` Nate Parsons
  0 siblings, 1 reply; 4+ messages in thread
From: Nate Parsons @ 2010-09-23 14:30 UTC (permalink / raw)
  To: git, Eric Wong

Hi all,

I'm experiencing an error message importing a new svn repository using
cygwin git, version 1.7.2.3

> fatal: refs/remotes/trunk: not a valid SHA1
> update-ref refs/heads/master refs/remotes/trunk: command returned error: 128

My .git/config file (nothing looks amiss to me):
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
[svn-remote "svn"]
	url = <redacted>
	fetch = iem/procedures/iem:refs/remotes/trunk
	branches = iem/procedures/Z_Folders/*:refs/remotes/*

It appears that this error was seen before in an older version that
didn't deal with extra "/"s appropriately, but I don't see that issue
here.

Thanks,
-Nate

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

* Re: git-svn error
  2010-09-23 14:30 git-svn error Nate Parsons
@ 2010-09-23 19:45 ` Nate Parsons
  2010-09-24  7:28   ` Michael J Gruber
  0 siblings, 1 reply; 4+ messages in thread
From: Nate Parsons @ 2010-09-23 19:45 UTC (permalink / raw)
  To: git, Eric Wong

Hi all,

I reproduced the problem on openSUSE, running git 1.7.3. I can't
provide access to the subversion repository, but I can do anything
else to help diagnose the problem.

-Nate

On Thu, Sep 23, 2010 at 10:30 AM, Nate Parsons <parsons.nate@gmail.com> wrote:
> Hi all,
>
> I'm experiencing an error message importing a new svn repository using
> cygwin git, version 1.7.2.3
>
>> fatal: refs/remotes/trunk: not a valid SHA1
>> update-ref refs/heads/master refs/remotes/trunk: command returned error: 128
>
> My .git/config file (nothing looks amiss to me):
> [core]
>        repositoryformatversion = 0
>        filemode = true
>        bare = false
>        logallrefupdates = true
>        ignorecase = true
> [svn-remote "svn"]
>        url = <redacted>
>        fetch = iem/procedures/iem:refs/remotes/trunk
>        branches = iem/procedures/Z_Folders/*:refs/remotes/*
>
> It appears that this error was seen before in an older version that
> didn't deal with extra "/"s appropriately, but I don't see that issue
> here.
>
> Thanks,
> -Nate
>

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

* Re: git-svn error
  2010-09-23 19:45 ` Nate Parsons
@ 2010-09-24  7:28   ` Michael J Gruber
  2010-09-24 20:33     ` Nate Parsons
  0 siblings, 1 reply; 4+ messages in thread
From: Michael J Gruber @ 2010-09-24  7:28 UTC (permalink / raw)
  To: Nate Parsons; +Cc: git, Eric Wong

Nate Parsons venit, vidit, dixit 23.09.2010 21:45:
> Hi all,
> 
> I reproduced the problem on openSUSE, running git 1.7.3. I can't
> provide access to the subversion repository, but I can do anything
> else to help diagnose the problem.

How about providing some context of that error message, i.e. a
transaction log? Also: Is this from a fresh repo?

Michael

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

* Re: git-svn error
  2010-09-24  7:28   ` Michael J Gruber
@ 2010-09-24 20:33     ` Nate Parsons
  0 siblings, 0 replies; 4+ messages in thread
From: Nate Parsons @ 2010-09-24 20:33 UTC (permalink / raw)
  To: Michael J Gruber; +Cc: git, Eric Wong

On Fri, Sep 24, 2010 at 3:28 AM, Michael J Gruber
<git@drmicha.warpmail.net> wrote:
>
> Nate Parsons venit, vidit, dixit 23.09.2010 21:45:
> > Hi all,
> >
> > I reproduced the problem on openSUSE, running git 1.7.3. I can't
> > provide access to the subversion repository, but I can do anything
> > else to help diagnose the problem.
>
> How about providing some context of that error message, i.e. a
> transaction log? Also: Is this from a fresh repo?

I'd be glad to do this, as long as nobody can use these logs to
recreate the contents of my repository. What commands do I run?

This is happening in a fresh repo, I do the 'git svn init' first, and
then 'git svn fetch $head' (where $head is actually a number). This is
to work around my other git issue that hasn't gotten a response.

I was able to fetch the entire repository using a combination of
TortoiseGit (for the initial init and fetch, until it died with a file
permissions error) and then fetch the rest of my history with msysgit,
so this isn't a show-stopping issue for me.

-Nate

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

end of thread, other threads:[~2010-09-24 20:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-23 14:30 git-svn error Nate Parsons
2010-09-23 19:45 ` Nate Parsons
2010-09-24  7:28   ` Michael J Gruber
2010-09-24 20:33     ` Nate Parsons

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).