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: Fri, 01 Nov 2013 10:12:40 +0400	[thread overview]
Message-ID: <299211383286360@web20h.yandex.ru> (raw)
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>:
> 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

      reply	other threads:[~2013-11-01  6:12 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
2013-10-30 15:06     ` Thomas Rast
2013-11-01  6:12       ` DimanNe [this message]

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=299211383286360@web20h.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.