Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Single Checkout - Multiple Saves

Status
Not open for further replies.

krisbrixon

Programmer
May 10, 2002
371
US
Here is my problem:

When I check a file out in VS.NET (VB.NET) it gives me the little check mark by the file. I make a change to the file and save the file (still checked out). Then a coworker will open the same file, make a change and save the change (not checked out). On my computer it will tell me that the file has changed and asks me if I want to load the new version. (p.s. the same thing happens if the coworker starts and I come in latter)

When I check out a file I want to be the ONLY one that can edit the file. I do not mind if someone views the file, but I want to restrict edit rights.

Some of the settings we have set:
In VS.NET->Options->Source Control:
- Check in everything when closing a solution
- Check out automatically when checked-in items are edited.

Any Ideas? Am I doing something wrong, or is this normal?

Kris
[pc3]
 
I found out the problem:

I added the following line to srcsafe.ini

Lock_Mode=Lockfile

This will cause VSS to control the file locking and remove the file locking control from the OS.

Thanks Anyway,

Kris
- Stupidity got us into this mess ... why can't it get us out?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top