From: Thomas Ferris Nicolaisen <tfnico@gmail.com>
To: Zak Whaley <zak.whaley@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Can I specify a “chunk size” for git svn fetch?
Date: Mon, 9 May 2011 19:29:43 +0200 [thread overview]
Message-ID: <BANLkTinpK1DtgSBq=znBb=ung5FcttLn_g@mail.gmail.com> (raw)
In-Reply-To: <BANLkTinXvjQth3wBmZUu8A0QszCXm8dc6g@mail.gmail.com>
> Is there a way to tell git-svn fetch to get an index in multiple
> chunks of a particular chunk-size or to retain the partial index if
> the server hangs up?
>
> Spec info:
> Win7 with Cygwin 1.7.9-1
> git & git-svn 1.7.4-1
>
If you are willing to leave out the big zip file from your repository,
you could try the following:
Make two clones, one before the over-sized commit, and one for
afterwards. Say the big commit was committed in revision 36, it would
be something like:
git svn clone -r1:35 url first-clone
git svn clone -r36:HEAD url second-clone
Now fetch the second repo into the first repo, and tie the history
together using _grafts_. I've made a screencast with an example of
grafting like this here:
http://blog.tfnico.com/2010/10/gitsvn-6-grafting-together-svn-history.html
(I'll cross-post this answer to StackOverflow as well).
prev parent reply other threads:[~2011-05-09 17:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-04 19:06 Can I specify a “chunk size” for git svn fetch? Zak Whaley
2011-05-09 17:29 ` Thomas Ferris Nicolaisen [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='BANLkTinpK1DtgSBq=znBb=ung5FcttLn_g@mail.gmail.com' \
--to=tfnico@gmail.com \
--cc=git@vger.kernel.org \
--cc=zak.whaley@gmail.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).