Improve error message with invalid repository configurations
There are several issues related to invalid repository configuration errors:
- when
repository_type
is defined, but repository_dir
is left undefined, a confusing error message is thrown:
Unsupported version control system "svn".
Check that the Python bindings for "svn" are correctly installed.
exactly as if SVN Python bindings were in trouble.
This message may even be more confusing as as repository_type
defaults to svn
, a configuration that does not contain any repository_*
directives ends up showing up this error message.
- HTTP error type shows up as None when this error is raised.
Change History
(5)
Milestone: |
→ 0.11.1
|
Priority: |
low → high
|
Type: |
defect → enhancement
|
Type: |
enhancement → defect
|
Resolution: |
→ duplicate
|
Status: |
new → closed
|
The vc backends should be able to bring more actual details about the failure.