git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo
@ 2009-12-03 21:00 Stephen Bannasch
  2009-12-05 22:49 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Bannasch @ 2009-12-03 21:00 UTC (permalink / raw)
  To: git

I use git svn often and normally it works fine.

I getting a fatal error trying to clone the asciimathm svn repo at sourceforge:

$ git svn clone --trunk=trunk --branches=branches http://asciimathml.svn.sourceforge.net/svnroot/asciimathml asciimathml-svn-git
fatal: Not a valid object name
ls-tree -z  ./: command returned error: 128

Anybody seen this kind of problem before.

A svn co works fine.

I'm using git version 1.6.5.1 on mac os 10.5.8.

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

* Re: svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo
  2009-12-03 21:00 svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo Stephen Bannasch
@ 2009-12-05 22:49 ` Eric Wong
  2009-12-06 17:49   ` Stephen Bannasch
  0 siblings, 1 reply; 3+ messages in thread
From: Eric Wong @ 2009-12-05 22:49 UTC (permalink / raw)
  To: Stephen Bannasch; +Cc: git

Stephen Bannasch <stephen.bannasch@deanbrook.org> wrote:
> I use git svn often and normally it works fine.
>
> I getting a fatal error trying to clone the asciimathm svn repo at sourceforge:
>
> $ git svn clone --trunk=trunk --branches=branches http://asciimathml.svn.sourceforge.net/svnroot/asciimathml asciimathml-svn-git
> fatal: Not a valid object name
> ls-tree -z  ./: command returned error: 128
>
> Anybody seen this kind of problem before.
>
> A svn co works fine.
>
> I'm using git version 1.6.5.1 on mac os 10.5.8.

Hi Stephen,

Passing the "-r4:HEAD" parameter to "git svn clone" should work.  It
looks like the repository was initially miscreated and "trunk" was a
symlink (and not a directory) in r1.

I have not yet thought of a good solution to this, yet...

-- 
Eric Wong

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

* Re: svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo
  2009-12-05 22:49 ` Eric Wong
@ 2009-12-06 17:49   ` Stephen Bannasch
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Bannasch @ 2009-12-06 17:49 UTC (permalink / raw)
  To: Eric Wong; +Cc: git

At 2:49 PM -0800 12/5/09, Eric Wong wrote:
>Stephen Bannasch <stephen.bannasch@deanbrook.org> wrote:
>> I use git svn often and normally it works fine.
>>
>> I getting a fatal error trying to clone the asciimathm svn repo at sourceforge:
>>
>> $ git svn clone --trunk=trunk --branches=branches http://asciimathml.svn.sourceforge.net/svnroot/asciimathml asciimathml-svn-git
>> fatal: Not a valid object name
> > ls-tree -z  ./: command returned error: 128
>
>Passing the "-r4:HEAD" parameter to "git svn clone" should work.  It
>looks like the repository was initially miscreated and "trunk" was a
>symlink (and not a directory) in r1.

Thanks Eric, your suggestion worked.

How could you tell the first svn commit was a symlink?

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

end of thread, other threads:[~2009-12-06 17:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-03 21:00 svn svn returning 'fatal: Not a valid object name' on sourceforge svn repo Stephen Bannasch
2009-12-05 22:49 ` Eric Wong
2009-12-06 17:49   ` Stephen Bannasch

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