Posted under » Version Control on 20 April 2020
#1. E170004: Directory '/' is out of date
This error happens when you try to commit. When you get this message, all you need is to svn update.
#2. Database is locked, cannot release
This often happens when you are doing `svn update' and then you terminate it half way.
If using tortoise, the best way is to delete the whole directory because the termination is because of some characters. So instead of using tortoise, checkout on a llnux server and it should not have issues. Then copy the whole lot to windows. Tortoise will detect it as an SVN repo.
#3 Node remains in conflict
This happens when you have modified files and then you `svn update'.
First delete the current ones that are in conflict. After that do this
List all conflicts
$ svn status | grep -P '^(?=.{0,6}C)'
If you get a bunch of Ds (marked for deletion)
D var/taik.jpg
Run svn revert FILENAME to throw away all of the local changes.
$ svn revert var/taik.jpg
This should work. If this fail delete them. Then,
$ svn up # $ svn resolve --accept=working var/taik.jpg $ svn resolve taik.jpg $ svn up
This will resolve the error.