SharpDeveloper
If you’ve ever had two or more source-safe projects with shared files, you might be shocked to learn that Visual SourceSafe 2005 breaks one of the holy grails of good design: user expectations.
You would expect that, if you delete a shared file from one project, it gets branched. I mean, you deleted it, right? You said goodbye, kaputsky, sayounara! But alas, Visual SouceSafe 2005 shares deleted files!
To test this out, try the following:
- Create a new project (call it "Test-A")
- Add some files (some HTML or text files work best)
- Create a new project (call it "Test-B")
- Browse into Test-A, and select and drag some files into Test-B to share them
- Delete one of the shared files (non-permanently)
- Browse to Test-B
- The file is still shared!
Shocking! What’s worse, the deleted file continues to be updated if the other version is updated! Try it for yourself:
- Browse to Test-B
- Check-out, edit, and check-in one of the files you deleted
- Browse to Test-A
- Recover the deleted file (right-click on the project and select Project Properties, go to the Deleted Items tab, and click Recover)
- View the file
- The file has the same changes as its twin in Test-B!
The only consolation you may have, is that if you destroy permanently when you delete a shared file, it becomes branched–albeit with a hideous, ugly warning pop-up.
So consider yourself warned!
By Ashiq Alibhai
By Ashiq Alibhai
Related Reading:
Other Interesting Posts
One Response to SourceSafe Shares Deleted Files!
Leave a Reply Cancel reply
-
Articles
- January 2011
- April 2010
- March 2010
- February 2010
- January 2010
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- February 2009
- December 2008
- November 2008
- October 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
-
Meta








Hi man.
I have a file that I accidentally had shared between two subprojects (VSS2005). I deleted it from one of the subprojects but apparently didn’t check ‘destroy permanently’. The icon still shows the file as shared and in the properties under Links lists the other as ‘deleted in this project’. How do I clean this up so the icon no longer shows the file as shared?
Thanks!