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

Re: git-svn sucks when it should not

From
Avery Pennarun <apenwarr@gmail.com>
Date
Jul 7, 2008, 16:29 UTC
Message-ID
<32541b130807070929q65e9a0d8g788cdb8c28ef28b9@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0807071242180.18205@racer>
On 7/7/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
>  # It heavily relies on curl being able to screen-scrape the directories,
>  # in other words, it wants an HTTP on the other side that has directory
>  # listings enabled.

I wrote a similar script myself, although it makes assumptions about the meaning of /branches and /tags rather than using the dirs vs. files trick.

Rather than relying on screen scraping with curl, you might prefer to use "svn ls" instead, since it'll work with any svn-compatible repository type and (I presume) doesn't require special web server settings.

Have fun,
Avery
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 4 of 5 in “git-svn sucks when it should not”
  1. Johannes SchindelinJul 7, 2008
  2. Eric WongJul 7, 2008
  3. Johannes SchindelinJul 7, 2008
  4. Avery PennarunJul 7, 2008
  5. Johannes SchindelinJul 7, 2008

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.