git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [BUG] girocco + git-svn: trunk is not propagated to master

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Feb 20, 2010, 23:42 UTC
Message-ID
<20100220234200.GS12429@genesis.frugalware.org>
In-Reply-To
<20100219132206.GA13734@tugrik.mns.mnsspb.ru>
On Fri, Feb 19, 2010 at 04:22:07PM +0300, Kirill Smelkov <kirr@mns.spb.ru> wrote:
Show 9 quoted lines
> ---- 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
Show 13 quoted lines
> ---- 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?
Previous: Kirill SmelkovNext: Kirill Smelkov
Message 2 of 12 in “[BUG] girocco + git-svn: trunk is not propagated to master”
  1. Kirill SmelkovFeb 19, 2010
  2. Miklos VajnaFeb 20, 2010
  3. Kirill SmelkovFeb 21, 2010
  4. Teach Girocco to mirror http:// style SVN reposKirill Smelkov, Feb 22, 2010
  5. 0/3 girocco + git-svn: trunk is not propagated to master + more... (resend)Kirill Smelkov, Mar 22, 2010
  6. 1/3 taskd/clone: Don't forget to use 'git config --add' for multivars setupKirill Smelkov, Mar 22, 2010
  7. 2/3 taskd/clone: quote shell metacharacters where appropriateKirill Smelkov, Mar 22, 2010
  8. 3/3 Teach Girocco to mirror http:// style SVN reposKirill Smelkov, Mar 22, 2010
  9. Petr BaudisMay 5, 2010
  10. Kirill SmelkovMay 6, 2010
  11. Petr BaudisMay 6, 2010
  12. Kirill SmelkovMay 6, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.