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
Oct 29, 2013, 14:14 UTC
Message-ID
<87941383056091@web26h.yandex.ru>
In-Reply-To
<87iowgiloj.fsf@linux-k42r.v.cablecom.net>
> 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
29.10.2013, 11:25, "Thomas Rast" <tr@thomasrast.ch>:
Show 25 quoted lines
> DimanNe <dimanne@ya.ru> writes:
>
>>  I am trying to clone/fetch svn branch with git-svn:
>>
>>  git config --add svn-remote.stable-2012-03-29.url https://some_host/branch
>>  git config --add svn-remote.stable-2012-03-29.fetch :refs/remotes/stable-2012-03-29
>>  git svn fetch stable-2012-03-29
>>
>>  which gives me this error message:
>>
>>  svn-remote.stable-2012-03-29.url already set:
>>  https://some_host/branch/ wanted to set to: https://some_host/
>>
>>  I know that I probably can fix this by re-fetching all svn-repo from
>>  scratch, but it will take months or even years (due to size of repo).
>
> What does your config look like now?
>
> You should have only one svn-remote with one url, but it can have
> multiple .fetch entries.  To fetch all branches, you can also just
> configure its .branches.
>
> --
> Thomas Rast
> tr@thomasrast.ch
Previous: Thomas RastNext: Thomas Rast
Message 3 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.