On Fri, Feb 19, 2010 at 04:22:07PM +0300, Kirill Smelkov <kirr@xxxxxxxxxx> wrote: > ---- taskd/clone.sh ---- > svn://*) > GIT_DIR=. git svn fetch > # Neat Trick suggested by Miklos Vajna > GIT_DIR=. git config remote.origin.url . > GIT_DIR=. git config remote.origin.fetch +refs/remotes/heads/*:refs/heads/* > GIT_DIR=. git config remote.origin.fetch +refs/remotes/trunk:refs/heads/master > GIT_DIR=. git config remote.origin.fetch +refs/remotes/tags/*:refs/tags/* > GIT_DIR=. git fetch Here is the original blog post: http://vmiklos.hu/blog/svn-ggit-conversion-using-git-svn > ---- jobd/update.sh ---- > svn://*) > GIT_DIR=. bang git svn fetch > GIT_DIR=. bang git fetch > > > But it seems it does not work. First I see there is a need for quoting, > so e.g. > > - GIT_DIR=. git config remote.origin.fetch +refs/remotes/heads/*:refs/heads/* > + GIT_DIR=. git config remote.origin.fetch '+refs/remotes/heads/*:refs/heads/*' > > but I'm not sure it will fix the problem. When I tried this technique in ooo-build, I did not need quoting. Though it won't hurt, sure. > Can we do something about it please? Did you get any error message?
Attachment:
pgp6YHd8GJ1tz.pgp
Description: PGP signature