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

Re: git svn already set … wanted to set to:

From
DDimanNe <dimanne@ya.ru>
Date
Nov 1, 2013, 06:12 UTC
Message-ID
<299211383286360@web20h.yandex.ru>
In-Reply-To
<87ppqmg5me.fsf@linux-k42r.v.cablecom.net>
Thank you, it seems, that you are right, and following works
1) I cloned trunk from scratch
git svn clone -T trunk/ https://some_host --revision 1104830:HEAD
2) Then add branches I want to fetch in .git/config:
fetch = branches/proj/proj-stable-2013-08-14:refs/remotes/proj-stable-2013-08-14
3) Then run
git svn fetch
wait for about 10 hours without any output from command (this was most difficult step due to absence of output), and after that git started to fetch revisions!
30.10.2013, 19:06, "Thomas Rast" <tr@thomasrast.ch>:
Show 35 quoted lines
> DimanNe <dimanne@ya.ru> writes:
>
>>>  What does your config look like now?
>>  [core]
>>          repositoryformatversion = 0
>>          filemode = true
>>          bare = false
>>          logallrefupdates = true
>>
>>  [svn-remote "svn"]
>>          url = https://some_host/trunk/
>>          fetch = :refs/remotes/git-svn
>>
>>  [merge]
>>          renameLimit = 50000
>>
>>  [svn-remote "stable-2012-09-13"]
>>          url = https://some_host/branches/stable-2012-09-13/
>>          fetch = :refs/remotes/stable-2012-09-13
>
> Sounds like you should instead have only a single remote, along the
> lines of:
>
> [svn-remote "svn"]
>         url = https://some_host/
>         fetch = trunk:refs/remotes/git-svn
>         fetch = branches/stable-2012-09-13:refs/remotes/stable-2012-09-13
>
> or possibly, instead of manually listing the branches you want,
>
>         branches = branches/*:refs/remotes/svn/*
>
> --
> Thomas Rast
> tr@thomasrast.ch
Previous: Thomas Rast
Message 5 of 5 in “git svn already set … wanted to set to:”
  1. DimanNeOct 29, 2013
  2. Thomas RastOct 29, 2013
  3. DimanNeOct 29, 2013
  4. Thomas RastOct 30, 2013
  5. DimanNeNov 1, 2013

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.