From: Benoit SIGOURE Date: Mon, 15 Oct 2007 07:07:21 GMT Subject: Re: git-svn and submodules Message-ID: <05CAB148-56ED-4FF1-8AAB-4BA2A0B70C2C@lrde.epita.fr> In-Reply-To: On Oct 15, 2007, at 12:59 AM, Johannes Schindelin wrote: > Hi, > > On Sun, 14 Oct 2007, Eric Wong wrote: > >> Johannes Schindelin wrote: >> >>> While I have your attention: last weekend, I spoke to a guy from the >>> ffmpeg project, and he said that the only thing preventing them from >>> switching to git was the lack of svn:external support... >>> >>> (Of course I know that it is more difficult than that: ffmpeg itself >>> is an svn:external of MPlayer, but maybe we can get both of them to >>> switch ;-) >>> >>> Do you have any idea when/if you're coming around to add that to >>> git-svn? >> >> Soonish, possibly within a next week, even. I have actually have >> started a project (using git) that wants to use SVN-hosted >> repositories >> directly submodules; so the fact that I'll actually need something >> like >> it bodes well for getting it implemented :) > > Hehe. Thanks! > Thanks for making this another thread because I didn't read the answers to that patch and I was going to try and implement this (svn:externals via submodules) sooner or later. Hadn't I seen this, we'd probably end up duplicating effort. Maybe I can help with the implementation? This week I'm probably going to start to dive in git-svn by implementing simpler things first: - git svn create-ignore (to create one .gitignore per directory from the svn:ignore properties. This has the disadvantage of committing the .gitignore during the next dcommit, but when you import a repo with tons of ignores (>1000), using git svn show-ignore to build .git/info/exclude is *not* a good idea, because things like git-status will end up doing >1000 fnmatch *per file* in the repo, which leads to git-status taking more than 4s on my Core2Duo 2Ghz 2G RAM) - git svn propget (to easily retrieve svn properties from withing git-svn). git svn propset would be nice too, but I guess it's harder to implement. Cheers, -- Benoit Sigoure aka Tsuna EPITA Research and Development Laboratory