From: Martin Langhoff Date: Thu, 30 Apr 2009 15:03:35 GMT Subject: Re: git svn errors out with git-cat-file "usage" message Message-ID: <46a038f90904300803h555f02b3n76d03c93d99f7506@mail.gmail.com> In-Reply-To: <32541b130904300741p325012b7g28dabbd33576ceae@mail.gmail.com> On Thu, Apr 30, 2009 at 4:41 PM, Avery Pennarun wrote: > Try this: > >  strace -fF git svn  clone  -T trunk > http://paintweb.googlecode.com/svn paintweb.git 2>&1 | egrep -i > 'git.pm|git-svn' > > If you wade through the output, it should tell you which git.pm and > git-svn you're *really* getting. The output looks reasonable: $ strace -fF git svn clone -T trunk http://paintweb.googlecode.com/svn paintweb.git 2>&1 | egrep -i 'git.pm|git-svn' execve("/home/martin/libexec/git-core/git-svn", ["git-svn", "clone", "-T", "trunk", "http://paintweb.googlecode.com/s"..., "paintweb.git"], [/* 44 vars */]) = 0 open("/home/martin/libexec/git-core/git-svn", O_RDONLY|O_LARGEFILE) = 3 stat64("/home/martin/share/perl/5.10.0/Git.pmc", 0xbffa451c) = -1 ENOENT (No such file or directory) stat64("/home/martin/share/perl/5.10.0/Git.pm", {st_mode=S_IFREG|0444, st_size=35479, ...}) = 0 open("/home/martin/share/perl/5.10.0/Git.pm", O_RDONLY|O_LARGEFILE) = 4 [pid 23322] write(2, "Unexpected result returned from "..., 96Unexpected result returned from git cat-file at /home/martin/libexec/git-core/git-svn line 3252 write(2, "Failed to read object 4b90eef952"..., 116Failed to read object 4b90eef95225bb9e34000e050d0cac8b84ab36f6 at /home/martin/libexec/git-core/git-svn line 3253. cheers, martin -- martin.langhoff@gmail.com martin@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff