threads / discuss / 6508

Git Subversion problem

Subject: Git Subversion problem

## tl;dr

3 messages between Jan 24, 2007 and Jan 25, 2007.

replies: 2people: 2as markdown or json

alan· Jan 24, 2007, 17:40 UTC · lore

I think I tracked down where my problem with using Git to pull subversion repositories came from.

It seems that if the repository has a file larger than what will fit in memory, it does not react well. (Yes, I know that you should not check in huge data files into a repository, but accidents happen and Subversion does not make it easy to remove them.)

I can work around the problem at the moment, but it may be something that the person who maintains that chunk of git may want to look at.

-- 
"Invoking the supernatural can explain anything, and hence explains nothing."
                   - University of Utah bioengineering professor Gregory Clark
Eric Wong· Jan 25, 2007, 09:54 UTC · re: alan · lore

Re: Git Subversion problem

alan <alan@clueserver.org> wrote:
Show 10 quoted lines
> I think I tracked down where my problem with using Git to pull subversion 
> repositories came from.
> 
> It seems that if the repository has a file larger than what will fit in 
> memory, it does not react well.  (Yes, I know that you should not check in 
> huge data files into a repository, but accidents happen and Subversion 
> does not make it easy to remove them.)
> 
> I can work around the problem at the moment, but it may be something that 
> the person who maintains that chunk of git may want to look at.

Which version of git-svn are you using? Can you try git-svn from version 1.4.4.4 of git and see if that problem can be reproduced? The new delta fetching code in the latest git.git master may try to store the entire file in memory when receiving it over the network.

-- 
Eric Wong
alan· Jan 25, 2007, 16:54 UTC · re: Eric Wong · lore

Re: Git Subversion problem

On Thu, 25 Jan 2007, Eric Wong wrote:
Show 13 quoted lines
> alan <alan@clueserver.org> wrote:
>> I think I tracked down where my problem with using Git to pull subversion
>> repositories came from.
>>
>> It seems that if the repository has a file larger than what will fit in
>> memory, it does not react well.  (Yes, I know that you should not check in
>> huge data files into a repository, but accidents happen and Subversion
>> does not make it easy to remove them.)
>>
>> I can work around the problem at the moment, but it may be something that
>> the person who maintains that chunk of git may want to look at.
>
> Which version of git-svn are you using?
1.4.4.2 from FC6.
> Can you try git-svn from
> version 1.4.4.4 of git and see if that problem can be reproduced?  The
> new delta fetching code in the latest git.git master may try to store
> the entire file in memory when receiving it over the network.
I will give it a try and see if it chokes.
-- 
"Invoking the supernatural can explain anything, and hence explains nothing."
                   - University of Utah bioengineering professor Gregory Clark

← back to recent threads