Janet Morris
Janet Morris

Reputation: 41

SVN Accidently del trunk and not committed change

How do you fix this scenario? So basically I am in PROD/WHOTest file and typed svn del trunk

Have not committed changes yet. How do you back out?

svn del --keep local trunk
or svn revert trunk

Upvotes: 0

Views: 74

Answers (1)

JB Nizet
JB Nizet

Reputation: 691785

svn revert . should do the trick. With TortoiseSVN, select the directory which contained trunk, and revert.

svn del --keep-local is used to delete a file or folder in SVN, but keeping the file or folder in the working copy.

Upvotes: 2

Related Questions