title: Git svn clone: How to defer fetch of revision history
body: <p>I often have the case that I want to work on a SVN repository right away. But an ordinary <code>git svn clone [url]</code> also clones the entire history. So I want to speed things up. The first part is to fetch only the last revision into your Git repository. I do it like so:</p>
  
  <pre><code>URL=http://google-web-toolkit.googlecode.com/svn/trunk/
  REV=`svn info $URL |grep Revision: | awk '{print $2}'`
  PROJECT_FOLDER=google-web-toolkit-readonly
  
  git svn clone -r$REV:HEAD $URL $PROJECT_FOLDER
  </code></pre>
  
  <p>(more info in the StackOverflow article: <a href="https://stackoverflow.com/questions/747075/how-to-git-svn-clone-the-last-n-revisions-from-a-subversion-repository">"How to git-svn clone last n revisions from svn"</a></p>
  
  <p>This way I'm up and running and can work immediately. But without local copy of the history. </p>
  
  <p>The question is, how do I afterwards fetch history from the svn repository? </p>
  
  <p>And preferably, can this be done in chunks of, say 1000 revisions (in reverse order). Any help here would be greatly appreciated :)</p>