All of lore.kernel.org
 help / color / mirror / Atom feed
From: DimanNe <dimanne@ya.ru>
To: Thomas Rast <tr@thomasrast.ch>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: git svn already set … wanted to set to:
Date: Tue, 29 Oct 2013 18:14:51 +0400	[thread overview]
Message-ID: <87941383056091@web26h.yandex.ru> (raw)
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>:
> 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

  reply	other threads:[~2013-10-29 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-29  6:57 git svn already set … wanted to set to: DimanNe
2013-10-29  7:24 ` Thomas Rast
2013-10-29 14:14   ` DimanNe [this message]
2013-10-30 15:06     ` Thomas Rast
2013-11-01  6:12       ` DimanNe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87941383056091@web26h.yandex.ru \
    --to=dimanne@ya.ru \
    --cc=git@vger.kernel.org \
    --cc=tr@thomasrast.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.