Re: [PATCH] git-svn: Always create a new RA when calling do_switch for svn://
Alec Berryman <alec@thened.net> wrote:
Show 22 quoted lines
>
> 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.
Thanks Alec, and sorry for the latency.
This series is:
Acked-by: Eric Wong <normalperson@yhbt.net>
--
Eric Wong