git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git svn's performance on cloning mono's branches/tags...

From
HLHin-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?
Previous: Hin-Tak LeungNext: Hin-Tak Leung
Message 6 of 10 in “git svn's performance on cloning mono's branches/tags...”
  1. Hin-Tak LeungJun 26, 2009
  2. Andreas EricssonJun 26, 2009
  3. Hin-Tak LeungJun 26, 2009
  4. Andreas EricssonJun 26, 2009
  5. Hin-Tak LeungJun 26, 2009
  6. Hin-Tak LeungJun 27, 2009
  7. Hin-Tak LeungJun 28, 2009
  8. Eric WongJul 2, 2009
  9. Hin-Tak LeungSep 30, 2009
  10. Eric WongOct 1, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.