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

[PATCH] git-svn: Always create a new RA when calling do_switch for svn://

From
Alec Berryman <alec@thened.net>
Date
Sep 14, 2008, 21:14 UTC
Message-ID
<1221426856-2652-1-git-send-email-alec@thened.net>

This was reported as Debian bug #464713. An example repository can be found at svn://svn.debian.org/chinese/packages/lunar-applet. When I try to clone it with 1.6.0.2.229.g1293c or 1.5.6.5, both using 1.5.1 libraries, I see the following:

r158 = 1107cff6309c979751e0841d40b9e2e471694b26 (git-svn@159)
    M   debian/changelog
    M   debian/rules
r159 = 010d0b481753bd32ce0255ce433d63e14114d3b6 (git-svn@159)
Found branch parent: (git-svn) 010d0b481753bd32ce0255ce433d63e14114d3b6
Following parent with do_switch
Malformed network data: Malformed network data at /home/alec/local/git/libexec/git-core//git-svn line 2360

It looks like the user made several commits and decided to undo them by removing the directory and copying an older version in its place.

This appears to only affect access via svn:// and svn+ssh://; I tried with file:// but not with http://.

The first patch is a minor refactoring of some test code, and the second one actually fixes the issue for me.

Next: Alec Berryman
Message 1 of 4 in “git-svn: Always create a new RA when calling do_switch for svn://”
  1. git-svn: Always create a new RA when calling do_switch for svn://Alec Berryman, Sep 14, 2008
  2. git-svn: factor out svnserve test code for later useAlec Berryman, Sep 14, 2008
  3. git-svn: Always create a new RA when calling do_switch for svn://Alec Berryman, Sep 14, 2008
  4. Eric WongSep 18, 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.