bogus repository root detection

Bug #156744 reported by David Allouche
This bug report is a duplicate of:  Bug #145240: Cannot import whole repository. Edit Remove
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Launchpad CSCVS
Triaged
Medium
Unassigned

Bug Description

The current svn import code determines the root of the repository by walking up the URL until "svn ls" fails. This was necessary because older versions of libsvn_client did not expose the repository root information.

The is wrong and fails when the repository root cannot be accessed or when svn repositories are nested.

Modern libsvn_client APIs allow to determine this information directly and correctly.

Tags: svn
Paul Hummer (rockstar)
Changed in launchpad-cscvs:
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
David Allouche (ddaa) wrote :

Assigning to rockstar, since he just marked the bug in-progress.

Changed in launchpad-cscvs:
assignee: nobody → rockstar
Revision history for this message
Mark Wilcox (m-p-wilcox) wrote :

This fails for the repository that I want to get an import from at:
svn://svn.connexia.com/BluemapiaWinClient
Because the root:
svn://svn.connexia.com
requires authentication for reads, presumably because there are other non-public projects on it.
However, this repository does provide a root via svn info, so perhaps as a partial fix you can just check if the repository root information is provided and if not try walking up the URL? That would at least restrict the effects of the bug to old repositories with complex structures or restricted roots.

Paul Hummer (rockstar)
Changed in launchpad-cscvs:
assignee: rockstar → nobody
status: In Progress → Triaged
tags: added: svn
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.