Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System-wide "svn upgrade" error catcher #109

Open
aik099 opened this issue Jan 13, 2017 · 0 comments
Open

System-wide "svn upgrade" error catcher #109

aik099 opened this issue Jan 13, 2017 · 0 comments
Labels

Comments

@aik099
Copy link
Member

aik099 commented Jan 13, 2017

Right now the error about non-upgraded working copy is only caught during svn info command execution because this is the 1st command executed to detect if this is a working copy or not.

This however isn't correct behavior considering that result of svn info call is cached for if SVN client is upgraded while cache is still valid then no svn info command is executed and exception about svn upgrade command is thrown.

Proposing to handle error about failed command due non-upgraded working copy right where that exception is thrown and:

  1. ask user to upgrade
  2. if user agrees to upgrade, then upgrade and retry previous command
  3. if user declines to upgrade, then throw exception as before
@aik099 aik099 added the bug label Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant