How to Totally Fuck Up Your Subversion Working Copy
2007.12.29 13:03For ultimate success in losing your valuable work, ignore these tips:
-
svn revertdoesn’t just revert the location of the file (undoing ansvn mv), it also resets the content to that of your lastsvn update. -
When using the unix
mvcommand to move a file into a directory, ensure that the second argument is actually an existing directory. If not, you could move 10 things into the directory, only to find that the directory is a file containing the content of the last file you moved, and the other 9 files are lost, forever.
Luckily, I had backed up my work the day before.
Unix gods, I bow before ye. Purify me with your light. I have lost my way.
category: code
tags: confession, subversion, unix