Re: git svn's performance on cloning mono's branches/tags...
- From
- Hin-Tak Leung <hintak.leung@gmail.com>
- Date
- Jun 27, 2009, 01:17 UTC
- Message-ID
- <3ace41890906261817y523c9321xd621fb3130941d91@mail.gmail.com>
- In-Reply-To
- <3ace41890906260644t3eddb2d2sb4ddbcb6499801@mail.gmail.com>
Starting afresh with -T/-t/-b is transversing the branches and tags once, rather that over and over starting from r1.
Here is the starting afresh config:
-------------------------- [svn-remote "svn"] url = svn://anonsvn.mono-project.com/source fetch = trunk/mono:refs/remotes/trunk branches = branches/*/mono/:refs/remotes/* tags = tags/*/mono/:refs/remotes/tags/* --------------------------
Here is my attempt at contiuation/changing my mind after getting at trunk only: -------------------------- [svn-remote "svn"] # url = svn://anonsvn.mono-project.com/source/trunk/mono # fetch = :refs/remotes/git-svn url = svn://anonsvn.mono-project.com/source tags = tags/*/mono:refs/remotes/mono/tags/* branches = branches/*/mono:refs/remotes/mono/branches/* trunk = trunk/mono:refs/remotes/git-svn ------------------------- the tags, branches, url entries are effectively the same, I think - so the main difference is using trunk instead of fetch. Why does it make any difference? The example at the bottom of git-svn's man page uses the trunk notation. Maybe it should be changed?