Sometimes I want to add a folder into svn with svn add my_folder
but then I change my mind and don't want to commit this. It seems that svn remembers this pending addition forever! If I make a mistake and move, remove or rename the file, svn status
will still show that this folder is scheduled for addition after the next commit
and will produce an error.
I have tried svn update
and a clean checkout. The problem is, that svn update
usually doesn't work, svn checkout
not always works and if it does, it is very troublesome.
Any ideas?
Thanks in advance!
svn delete --keep-local
does the trick for files and also should for directories.
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