Git-svn clone the last few revisionsPosted: December 15, 2008
It can be awfully tempting to make some changes to an existing open-source project . Some of that excitement diminishes when one realizes how long a git-svn clone will take on a large project repo, like Python. The gain git-svn gives you in terms of quick history lookup is taken as cost in the beginning.
Instead, we can do a “shallow-copy” to get the last few revisions. It seems that you need to use actual revisions numbers for the first argument to
-r, but I could be wrong. I tried using
$ git-svn clone http://svn.python.org/projects/python/trunk/ python-dev -r 65000:HEAD.
If you find this is *still* taking too long, try canceling, changing into the directory and issue a:
$ git svn fetch
Good luck all!
- Finally got my first one into python, #4568: remove limitation in varargs callback example.