{"thread":{"id":"40402","subject":"git-svn: Why not use git-fast-import?","startedAt":"2015-09-22T09:12:59Z","lastAt":"2015-09-22T15:59:29Z","messageCount":2,"participants":["Victor Leschuk","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"270477","messageId":"6AE1604EE3EC5F4296C096518C6B77EE5D0FDAB9D7@mail.accesssoftek.com","threadId":"40402","inReplyTo":null,"subject":"git-svn: Why not use git-fast-import?","fromName":"Victor Leschuk","fromEmail":"vleschuk@accesssoftek.com","sentAt":"2015-09-22T09:12:59Z","receivedAt":"2015-09-22T09:12:59Z","isPatch":false,"sender":{"key":"vleschuk@accesssoftek.com","avatar":null},"body":"Hello all, \n\nI've been playing with git-svn for some time already and as it seems to me there are two most important problems which make it hard to use in production for large repositories. Very low speed and large memory footprint of synchronization with SVN repos (I am talking about clone and fetch operations mostly). I was wondering why the git-fast-import is not used for these purposes? Are there any serious limitations which make it impossible?\n\nI have found several alternative solutions which use git-fast-import but they all do only the initial import of a repo. I have looked through the documentation and didn't see why fast-import can't be used to sync an existing repo after the import. Am I missing something?\n\nThanks in advance for clarification.\n"},{"id":"270490","messageId":"20150922155928.GA16221@sigill.intra.peff.net","threadId":"40402","inReplyTo":"6AE1604EE3EC5F4296C096518C6B77EE5D0FDAB9D7@mail.accesssoftek.com","subject":"Re: git-svn: Why not use git-fast-import?","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2015-09-22T15:59:29Z","receivedAt":"2015-09-22T15:59:29Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Tue, Sep 22, 2015 at 02:12:59AM -0700, Victor Leschuk wrote:\n\n> I've been playing with git-svn for some time already and as it seems\n> to me there are two most important problems which make it hard to use\n> in production for large repositories. Very low speed and large memory\n> footprint of synchronization with SVN repos (I am talking about clone\n> and fetch operations mostly). I was wondering why the git-fast-import\n> is not used for these purposes? Are there any serious limitations\n> which make it impossible?\n\nThe main reason is that git-svn predates the invention of fast-import.\nThere was an attempt later to make a more \"modern\" svn interface:\n\n  - it would provide a git-remote-helper interface (so you could use\n    normal clone, fetch, and push with an \"svn::\" URL rather than a\n    separate git-svn).\n\n  - it would use fast-import for moving data into git\n\nbut it was never finished. I don't recall the specific problems offhand.\nYou can see the remnants in the vcs-svn directory of git, or you might\nfind discussions by searching the list archive.\n\n-Peff\n"}]}