removing auto-commits from subversion and adding some docstrings #155
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First off- this seems to work on subversion and git but DEFINITELY needs a review by others.
There is one broken element that I don't know how to address.
In
blackbox_deregister_file
https://github.com/jvanasco/blackbox/blob/9e232bd1a115824e3adb2348e330eed8e82890bd/bin/blackbox_deregister_file#L28it is possible that line 28
vcs_remove "$encrypted_file"
will fail under 2 circumstances because subversion wants a--force
argumentWhen that happens, the shell script exits with the subversion error message.
I don't know enough shell scripting to catch that and notify the user.