Lee Tickett
Lee Tickett

Reputation: 6027

Prevent deleted file/folder recreation in SVN

If I want to delete a file/folder I can do so locally and commit the changes. However, when another user runs an SVN update the deleted files/folder don't delete on their local copy.

Am I doing something wrong?

Upvotes: 1

Views: 216

Answers (2)

Lee Tickett
Lee Tickett

Reputation: 6027

Looks like i've found the answer;

I needed to select "delete" from the tortoise SVN context menu rather than just doing a windows delete. When i committed and did an SVN update on another machine the delete replicated correctly. This seems bonkers :/

Deleted files are 'restored' when doing an update with TortoiseSVN

http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-rename.html

Upvotes: 1

bahrep
bahrep

Reputation: 30662

I guess that you and the other developer work on different branches. The expected behavior is that the deleted item will be deleted from your colleague's working copy on the next svn update.

Run svn info in your and your colleague's working copy and see whether the URL is the same or not.

Upvotes: 0

Related Questions