I just wanted to revert a whole directory so I typed:
svn revert mydir
Then I realized it was wrong and it should have been:
svn -R revert mydir
After typing this last command I receive the error "svn: E155038: Can't revert 'mydir' without reverting parent".
I've moved to 'mydir' and then try the svn -R revert .
but still it returns the same error.
How can I revert this directory recursively so I can get the previous version from the server?
The problem is that 'mydir' was not added to the SVN yet so there was not a previous version to revert to. If you revert parent directory you will lose any changes done in 'mydir' directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With