Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Visual Studio.NET / Source Safe / December 2003

Tip: Looking for answers? Try searching our database.

VSS Multiple Check outs

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Ilgen - 19 Dec 2003 21:37 GMT
We are setting up VSS 6.0d to work with multiple .Net
developers. According to the documentation in VSS 6.0d,
in VSS one modifies the .ini file to contain the name of
the project name and set it for multiple checkout.

In the scrsafe.ini we added:

;Multiple Checkouts
[$/test]
Multiple_Checkouts = yes

After this is done, and sourcesafe exited and brought up
again, we are supposed to be given the choice under
options/general to turn on multiple checkouts.

We do not get that choice.

Suggestions please.

Thanks,

John Ilgen
Kevin Yu [MSFT] - 20 Dec 2003 04:08 GMT
Hi John,

The choice under options/general is actually in the SourceSafe Admin
window. It turns on/off multiple checkouts options for all the projects.
Turning this on in the Admin window will add a "Multiple_Checkouts = yes"
line in the srcsafe.ini. It is a global value, not for any paticular
project.

Adding  "Multiple_Checkouts = yes" under single project sections such as
[$/test] sets the multiple checkouts option of the paticular project.
There's an "AND" relationship between the global setting value and the
project setting value. Only when the two values are all set to "yes", can
the multiple checkouts function of this project be enabled.

To choose whether to multiple checkout a file or a project, click
"Advanced" button in the check out dialog box, and check/uncheck the Allow
Multiple Checkouts.

If anything is unclear, please feel free to reply to the post.

Kevin Yu
Signature

=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

John Ilgen - 20 Dec 2003 05:12 GMT
Kevin,

What you said worked. Thanks! But we now have a problem
with the checkin process.

We have the a person connecting via a VPN and using
safesouce along with myself. We tested checking out the
same form and then the vpn client checked in a changed
form and I checked in the same form that was changed by
me. I was given a merge screen and given the opportunity
to merge the changes. This appears to work as designed.

Next we did the same procedure but I check my form in
first. Next the vpn user did the same but he did not get
the merge screen at all. It appears that his checkin was
not accepted.

Any suggestions?

We are getting ready for a big project and want to test
VSS operations.

Thanks -

>-----Original Message-----
>Hi John,
[quoted text clipped - 23 lines]
>
>.
Kevin Yu [MSFT] - 23 Dec 2003 07:02 GMT
Hi John,

According to my experience, the merge dialog box appears when you are
getting the latest version and you have a checked-out file. The best
process before check in a file is to get latest version of the project
manually from VSS. The merge dialog box should appear this time if you have
a file checked out. Then check in the files after you have all the files
merged.

Kevin Yu
Signature

=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."

John Ilgen - 23 Dec 2003 09:14 GMT
Kevin,

That is true but when you both check out at the same time
with multiple checkouts you get the same version. When I
check my changed version backin, vss updates the latest
version. Then when the remote user (via VPN) checks in her
is asked to verify the changes. If the roles are reversed,
I am given the merge dialog box. Something is wrong here!

Thanks,

John Ilgen

>-----Original Message-----
>Hi John,
[quoted text clipped - 12 lines]
>
>.
Kevin Yu [MSFT] - 24 Dec 2003 04:15 GMT
Hi John,

Based on my understanding, you need the Visual Studio to display a merge
windows whenever there are conflicts.

Please try to follow the steps:

1. Open Visual Studio .NET on the computer which doesn't show the merge
window automatically.

2. Open Option dialog box from Tools/Options...

3. Navigate to Source Control / SCC Provider on the left tree and click
Advanced button on the right.

4. In the General tab, choose Yes for 'Use visual merge'. Click OK.

HTH. Merry Christmas and Happy New Year.

Kevin Yu
Signature

=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.