Hi: On Mon, Jun 23, 2008 at 2:59 AM, Ealden Escañan <[EMAIL PROTECTED]> wrote: > On Mon, Jun 23, 2008 at 1:51 AM, Steffen Prohaska <[EMAIL PROTECTED]> wrote: >> On Jun 22, 2008, at 7:44 PM, Ealden Escañan wrote: >> >>> Thanks for this release. I did a quick test with git-svn and it seems >>> to fail with clone and rebase. This is with a clean install of >>> Git-1.5.6-preview20080622.exe on Vista Business 32-bit. >>> >>> git svn clone https://... >>> Initialized empty Git repository in d:/Ealden/... >>> r100 = 725619d88696fb5dcc07500ea1347e7b01c1b93e (git-svn) >>> Can't locate object method "hash_and_insert_object" via package "Git" >>> at C:/Program Files/Git/bin/git-svn line 3254. >>> >>> git svn rebase >>> Can't locate object method "cat_blob" via package "Git" at C:/Program >>> Files/Git/bin/git-svn line 3201. >> >> I hope that someone else on the list who is actively using git svn will >> answer your question. > > Thanks for the quick reply. I'll try to dig in and see what's wrong, > though I admit that git/C is totally out of my league at this moment.
How's your git/Perl? ;-) There are two problems. 1. Git.pm needs to be copied from /msysgit/git/ to the /msysgit development environment so that the installer picks it up. /msysgit/lib/perl5/site_perl/Git.pm 2. Even if the updated Git.pm is used, git-svn does not operate correctly. It dies :-( >git svn clone file:///i:/git/svn-test/svnrep/ git-side Initialized empty Git repository in i:/git/svn-test/git-side/.git/ fatal: Unable to add /tmp/UWS9wYv4RH to database Can't use an undefined value as a symbol reference at /usr/lib/perl5/site_perl/Git.pm line 421. I don't know what causes the problem is, but it has something to do with the speed improvements from already-merged branch "ar/batch-cat" [1]. Basically, the temp file passed into Git.pm::hash_and_insert_object() and is not accepted. As a workaround, you could revert to the last working git-svn which I think is [2] (2008-05-28). References: [1] http://repo.or.cz/w/git.git?h=29313449f726f13ecc562cea9856645eade8e3e9 [2] http://repo.or.cz/w/git.git?h=834836bd3f1c817f93ee69a29c904d3333e635f0 Best regards, Clifford Caoile
