Dmytrii Nagirniak
Dmytrii Nagirniak

Reputation: 24088

Delete files non-project files from SVN in Visual Studio

I am using AnkhSVN in Visual Studio.

How can I delete all files from SVN as I delete them from Visual Studio (files ARE NOT included in projects).

Ideally I would like to do:

  1. Press "Show All Files" In Visual Studio (shows the files not included in projects).
  2. Delete selected files (the ones not included in projects) from VS Solution Explorer.
  3. Commit (Deletes the files in SVN)

But this is not possible and I have to delete files directly from Repository OR delete missing files from TortoiseSVN.

Cheers,
Dmitriy.

Upvotes: 3

Views: 2749

Answers (4)

Gordon Thompson
Gordon Thompson

Reputation: 4834

The easiest way to do it is using explorer. You can add a column to explorer called SVN Status. You can then sort the file view using that and delete the ones that you don't want..

Explorer Detail View
(source: tigris.org)

Upvotes: 3

atx
atx

Reputation:

I either use a RapidSVN for that task, or add to VS Project (Add - Existing file) then delete, as Daniel says.

Upvotes: 1

Pavel Chuchuva
Pavel Chuchuva

Reputation: 22465

Your scenario should work. What's wrong with deleting missing files using TortoiseSVN?

TortoisSVN commit http://img21.imageshack.us/img21/5603/tortoisesvncommit.png

Upvotes: 3

Daniel A. White
Daniel A. White

Reputation: 190935

I do not think AnkhSVN checks for files that are not in your project. Why don't you directly delete them in explorer using TortoiseSVN?

Upvotes: 2

Related Questions