Re: Can I specify a “chunk size” for git svn fetch?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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).
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]