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
EWEric Wong <normalperson@yhbt.net>
Date
Oct 1, 2009, 07:17 UTC
Message-ID
<20091001071726.GA11370@dcvr.yhbt.net>
In-Reply-To
<3ace41890909301504w633323b9ybec1f42c1c169225@mail.gmail.com>
Hin-Tak Leung <hintak.leung@gmail.com> wrote:
Show 8 quoted lines
> Hmm, I am having another problem with git-svn going back and download
> everything over and over with this:
> 
> git svn clone -s https://ndiswrapper.svn.sourceforge.net/svnroot/ndiswrapper
> 
> I am going to do two-step init -s then fetch --all now to see if it helps.
> 
> (it is probably not entirely standard layout with the extra CVSROOT?)
Hi,

The ndiswrapper layout looks to be *almost* standard, the CVSROOT can probably safely be ignored, and you should be able to _mostly_ track it with the following config:

[svn-remote "svn"]
        url = https://ndiswrapper.svn.sourceforge.net/svnroot/ndiswrapper
        fetch = trunk/ndiswrapper:refs/remotes/trunk
        branches = branches/*/ndiswrapper:refs/remotes/*
        tags = tags/*/ndiswrapper:refs/remotes/tags/*

Notice how the glob can appear in the middle of the branches and tags configs on the remote side: foo/*/bar

Unfortunately, some of the tags seem to be inconsistently tagged and some had tags/TAGNAME/README whereas others had tags/TAGNAME/ndiswrapper/README (I'm using "README" to designate where the logical top-level working directory would be).

"svn log -v https://ndiswrapper.svn.sourceforge.net/svnroot/ndiswrapper/tags" should help find the ones that are tagged at the wrong depth:

VERSION_1_24 for example:
	fetch = tags/VERSION_1_24:refs/remotes/tags/VERSION_1_24
-- 
Eric Wong
Previous: Hin-Tak Leung
Message 10 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.