in

CodePrairie .NET

South Dakota .NET User Group

chrisortman

Finding deleted files in subversion

So I have to update my wix installer today and I need to remove files that I have deleted from my project. Subversion + Powershell makes this easy

 

svn log -r 4606:HEAD -v | where {$_ -match "^   D"}
 

4606 was revision of the last time I updated the installer, so I ask subversion for all changes since then.

-v tells it to print each path

My where { } checks each line of the output to see if it starts with 3 spaces and a D

 

Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
Powered by Community Server (Commercial Edition), by Telligent Systems