Hi Steffen
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'm wondering if SVN support is built in by default?
Thanks
--
Ealden Esto E. Escañan
http://blog.ealden.net
On Jun 22, 2008, at 7:44 PM, Ealden Escañan wrote:
> On Mon, Jun 23, 2008 at 12:54 AM, Steffen Prohaska <proh...@zib.de>
> wrote:
>>
>>
>> On Jun 19, 2008, at 1:24 AM, Junio C Hamano wrote:
>>
>>> The latest feature release GIT 1.5.6 is available at the usual
>>> places:
>>
>>
>> The msysgit Windows installer is available at
>>
>> http://code.google.com/p/msysgit/downloads
>>
>> Steffen
>>
>
> 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'm wondering if SVN support is built in by default?
Preliminary git svn support has been added recently. Personally,
however,
I do not use git svn nor do I test it. I only care about the core git
functionality that is needed by a git-only workflow.
I hope that someone else on the list who is actively using git svn will
answer your question.
Steffen
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.
Thanks again.
On Mon, Jun 23, 2008 at 2:59 AM, Ealden Escañan <eal...@gmail.com> wrote:
> On Mon, Jun 23, 2008 at 1:51 AM, Steffen Prohaska <proh...@zib.de> 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
We know this for some time now. Unfortunately, nobody seems to be
working on a solution to the problem.
We are no longer interested in problem descriptions but only in
solutions. Therefore, Dscho and I decided to remove git-svn from the
end-user installer. Personally, I am only interested in the core
commands that are needed for a native git workflow, so I will *not* fix
git-svn. In fact, I never ran git-svn. Apparently, the other core
msysgit developer are also not interested in working on git-svn.
git-svn will still be available if you checkout the msysgit source as
describe on the msysgit homepage (see "If you want to hack ..."). After
git-svn matured, we can include it again in the end-user installer.
Steffen