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