Page MenuHomePhabricator

SVN discovery fails to detect bad subpath
Closed, InvalidPublic

Description

See a bunch of discussion in IRC. Upshot is that this:

try {
  list($xml, $stderr) = $repository->execxRemoteCommand(
    'log --xml --quiet --limit %d %s',
    $limit,
    $repository->getSubversionBaseURI($at_rev));
} catch (CommandException $ex) {
  $stderr = $ex->getStdErr();
  if (preg_match('/(path|File) not found/', $stderr)) {
    // We've gone all the way back through history and this path was not
    // affected by earlier commits.
    break;
  }
  throw $ex;
}

...should fail hard if $at_rev is HEAD, because this indicates a configuration error.

Event Timeline

epriestley claimed this task.
epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added projects: Subversion, Diffusion.
epriestley added subscribers: epriestley, staticshock.

This is more than two years old and no one else seems to have hit it since then. Declining until we see a modern report.