Feature request: git-svn dcommit should send deltas upstream
- From
- Florian Weimer <fw@deneb.enyo.de>
- Date
- Aug 26, 2008, 10:54 UTC
- Message-ID
- <87myj0f3mb.fsf@mid.deneb.enyo.de>
Looking at my network traffic and the Perl code, it seems to me that git-svn fails to create a diff (delta) before sending data to the server. As a result, a few changes in a multi-megabyte file lead to a large upload (similar to the situation with CVS). git-svn should be able to compute this diff in all cases because it has got an up-to-date copy of the current revision in the Subversion repository.
As far as I can tell, this can't be fixed with a one-liner; some handles need to be passed down to the code that actually handles the upload.