Git svn clone: How to defer fetch of revision history

I found out how it can be done. The trick is not to use git svn clone. Instead, use git svn init and git svn fetch individually. Modified the example: URL=http://google-web-toolkit.googlecode.com/svn/trunk/ REV=`svn info $URL |grep Revision: | awk ‘{print $2}’` PROJECT_FOLDER=google-web-toolkit-readonly mkdir $PROJECT_FOLDER cd !$ #goes into dir named $PROJECT_FOLDER git svn init -s $URL … Read more

Can git-svn correctly populate svn:mergeinfo properties?

Even though this is an old question, the current state of affairs with git-svn has changed since it was asked. Specifically, in git 1.7.5, there is some limited support for setting the svn:mergeinfo when dcommitting back to svn. git svn dcommit now accepts the -mergeinfo=<mergeinfo> flag. To quote from the 1.7.5+ man page: -mergeinfo=<mergeinfo> Add … Read more

Git SVN Is Unable to Fetch from SVN Repository

I think this is the following issue: http://code.google.com/p/msysgit/issues/detail?id=298 Possible solution is to setup svnserve and use the svn:// protocol instead of file:/// See here for setting up svnserve on Windows: http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-serversetup-svnserve.html UPDATE svnserve is available as a part of TortoiseSVN if you use Windows OS (I checked with TortoiseSVN version 1.8.6) Then you just start: … Read more

Git Svn – Found possible branch point

My problem was that due to such a large SVN (files and log) that it kept crashing at some points and when I restarted it created multiple lines of the branches and tags within my .git/config file. branches = branches/*:refs/remotes/svn/branches/* tags = tags/*:refs/remotes/svn/tags/* I simply removed the duplicate entries of these and restarted with my … Read more

Can different git-svn clones of the same svn repository expect to be able to share changes then git svn dcommit?

I’ve been experimenting a lot with this lately, and think I managed to come up with a setup that somewhat works. Yes, it’s a strict rebase-only regime, yes it’s complicated, but you do get to use Git for working locally (speed, history, stash, index, etc). You can use branches behind the scenes when you collaborate … Read more

Assertion failed on git-svn checkout

I have the exact same issue on Windows 10 and sadly no real solution for you. But maybe it helps in the meantime to install the prior version 2.26.2. Link In my case it “solved” the problem until a proper solution is found. Update (2020-07-21): Currently a release candidate for version 2.28.0 exists where this … Read more

How to set Subversion properties with git-svn

Note: git 2.3.0 (February 2015) supports proset with git svn. See commit 83c9433 by Alfred Perlstein (splbio): git-svn: support for git-svn propset This change allows git-svn to support setting subversion properties. It is useful for manually setting properties when committing to a subversion repo that requires properties to be set without requiring moving your changeset … Read more

git svn cherry pick ignored warning

When someone does a “cherry-pick merge” with Subversion, Subversion records the commit that was merged in the metadata for the files and folders involved. When you do a git svn fetch, Git sees that merge metadata, and tries to interpret it as a merge between the Git remote branches. All this message means is that … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)