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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux