Project

General

Profile

Actions

Defect #1604

closed

Provide a more meaningful error when running an earlier version of the svn client

Added by Matthew Williams over 16 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
2008-07-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

When running a version of the svn client below the required version you're only presented with the following error:

"The entry or revision was not found in the repository."

This error can be confusing and make it appear that your svn client isn't functioning correctly.

The code being executed is basic:

svn list --xml 'svn://host'@HEAD --username 'user' --password 'password'

When run manually from the command line this is the result:

Subcommand 'list' doesn't accept option '--xml'
Type 'svn help list' for usage.

I think it would be beneficial for a simple check to be implemented for a more meaningful error message. As simple as a fix it is, I've spent much time on the forums trying to correct this issue when moving platforms while assuming my svn client was up to date. A meaningful error message would have saved me a lot of time and trouble.

If time allows I will try to submit a patch myself.


Related issues

Related to Redmine - Feature #4273: SCM command availability automatic check in administration panelClosedToshi MARUYAMA2009-11-23

Actions
Actions

Also available in: Atom PDF