Hi, On Tue, 5 Feb 2008, Andy Fischer wrote:
> I'm happy to report that I've been using git-svn at my place of work for > the past day and everything is running smoothly. We are using https and > the repo is about 4gb with ~9k files. I've done a few updates, a few > rebases, and a few commits, and everything works (though somewhat > slowly). Good. > Here are my observations: > > * git svn fetch was pretty slow, as expected (it took roughly 30 > minutes). Yes, that was really expected. If you are proficient with profiling on Windows, your help will be greatly appreciated. > * Using the syntax "git svn fetch -r xxxx" will fail silently if there > is a space between the -r and the revision number. Cygwin Git has the > same issue so it's not a bug with anything anyone here has done. But > it's something to watch out for. You might want to report this to the git list, and Cc Eric Wong, (or vice versa). > * The first call to "git gc --prune" was also really slow (~15 > minutes). Recommend this is done immediately after the initial fetch. Recently, there has been a patch to call "git gc --auto" in regular intervals while importing. AFAIR it made it into "official" git. > * At one point I thought "git svn rebase" was stuck because it was > taking a ridiculous amount of time. But it turned out that it was just > being helpful by calling "git gc" for me, which took a while. Again, this has been changed to "git gc --auto", and should be much quicker. > * And finally, an actual issue for msysgit. Calling "git svn show- > ignore" produced this: > > # / > /Debug > /Release > /.sconsign.dblite > HTTP Path Not Found: PROPFIND request failed on '/!svn/bc/4059/apps': > '/!svn/bc/4059/apps' path not found at c:/Program Files/Git/bin/git- > svn line 1869 > > (So it correctly found the svn:ignores for the top-level directory, > but failed when trying to find them under "apps") Yep, this seems to be our friend, the path mangling of MSys. Maybe we need an MSys specific hack to prepend a "/" in git-svn (MSys leaves paths a la "//usr/bin/git-svn" alone, while it mangles "/usr/bin/git-svn" into something like "C:\msysgit\bin\git-svn"). Dunno. Thanks, Dscho
