Pergunta

I've been removing lots of files from an SVN branch using:

svn rm filename
rm -rf filename

When I ran svn status, I saw all of the files I deleted listed as deleted and ready to commit. Before committing the changes, I ran svn update. This caused all of the files I deleted to be added back, and they are no longer staged as deleted when I run svn status.

Is there a way to get my deletes back in staging without doing all the work over again?

Foi útil?

Solução

unfortunately you will not find a solution: by deleting without using

svn rm [filename]

Subversion thinks the files were somewhere accidentally vanished. So on your

svn update

Subversion thankfully recreate these files for you. Also it totaly forgot what files where recreated. However if you have the output of your svn command, you should see the actions subversion did.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top