visual-sourcesafe

VSS and Visual Studio 2008 “Binary Files Differ” message for source files

白昼怎懂夜的黑 提交于 2019-12-04 12:36:39
问题 I'm using VSS 2008 and Visual Studio 2008. When my source files are checked in, the VSS property dialog shows them as type "Unicode (UTF-8)". But if I check one out from within Visual Studio, then do a compare, it says "binary files differ". Is anyone else seeing this? Do I have a screwed up setting somewhere? Thanks, Andy Update: Thanks to VonC for some insight. In most cases, turning off the "Auto-detect encoding of local file" checkbox fixes it, although for at least one file, it didn't

Create Project/solution in an existing directory?

99封情书 提交于 2019-12-04 08:20:24
问题 How can I create a New project & Solution in the same, existing , directory? No matter what I do, it keeps creating a new (sub)directory for the project and populating that directory instead of the one(s) that already exist. I have the "Create directory for Solution" checkbox cleared so that it will put the solution an dproject in the same folder and not create a solution folder, but it still keeps making the project sub-folder. How can I fix this?!? This has bugged me for a long time, but I

Get all files checked out by a user using the Visual Source Safe command line application SS.exe

断了今生、忘了曾经 提交于 2019-12-04 03:32:31
We currently use VSS 6, this is not going to change I am afraid. I am attempting to write a script that will allow a user to quickly copy all files that they have checked out to another directory tree. In order to do this I need to get a list of all the files that the user has checked out, and the directory that the file is checked out to. This is easy enough to do using status search in the GUI. But I need a way of doing it from the command line utility ss.exe. Two links that may be of use: VSS CommandLine Commands VSS CommandLine Options To expand on Panos reply ss.exe Status $/ -R -U

How do I get VB6 to integrate with Visual Source Safe 6.0?

天涯浪子 提交于 2019-12-04 03:00:42
We use Visual Source Safe 6.0 at work and VB6 is supposed to integrate smoothly with Source Safe. Both applications are installed on my PC, but VB6 is not showing the options to integrate with Source Safe (e.g. checking out a file, seeing if a file is shared, etc.). What do I need to do to get VB6 to integrate with Source Safe 6.0? Check the file C:\WINDOWS\VBADDIN.INI and make sure that there is a line "vbscc=1" under the "[Add-Ins32]" section of the file. Re-start VB6 and go to "Add-Ins | Add-In Manager". The "Source Code Control" add-in should be listed. Updated with correction from Mark

How do I sync between VSS and SVN

不想你离开。 提交于 2019-12-04 02:36:32
I am forced to use VSS at work, but use SVN for a personal repository. What is the best way to sync between VSS and sync? To get rid of the manual merge step, I could use a separate svn branch (svn://branches/VSS) as follows: Create a working copy of svn://branches/VSS Do a VSS Get Latest on this working copy svn commit svn merge from svn://trunk svn commit Do a VSS diff and checkout all files (without overwriting) with differences Check in those files reintegrate svn://branches/VSS into svn://trunk You could also treat this as a vendor supplied branch as defined in the redbean book: Vendor

Sourcesafe command line options

假如想象 提交于 2019-12-03 13:38:32
I am having an issue with the Microsoft Visual Sourcesafe command line options that I'm hoping someone has run across and can assist me with. I have the following line in a DOS batch file. "c:\Program Files\Microsoft Visual SourceSafe\ss.exe" GET "$/Development Projects/Activity" -GL"C:\Compile\Activity" -R -Q -Yname,password When this line is executed in the batch file the following prompt appears ... Set C:\Compile\Activity as the default folder for project $/Development Projects/Activity?(Y/N) I need to suppress this prompt in order to let the script run unattended. I thought the -Q option

Moving from VSS to SVN

五迷三道 提交于 2019-12-03 12:50:43
I need to write a script to make a source safe project ready to be moved to subversion, what do I need to do so far I can think of: remove .scc files remove .vspcc files Do I need to remove the "read-only" attribute of all the files as well, or will that not matter? What language would you write this script in, I was planning to do it in python (os.walk is great), but maybe powershell would be more appropriate to chnage file attributes on windows (if I need to)? Is there anything else you can think of that needs to be done before I move the project to SVN? For a manual migration (or to

Is it possible to use WinMerge inside Visual Studio 2008 and Visual Source Safe 6.0?

纵饮孤独 提交于 2019-12-03 12:20:30
I would like to use WinMerge as the default diff tool inside VS2008 from the solutions explorer in place of the "Compare..." context menu item. Is this possible? I'm looking for a quick replacement of the current bland diff tool an I just like WinMerge better. I'm not interested in going to the folder explorer and doing the comparison there. I'm using Visual Source Safe 6.0 not TFS I have been wondering about this as well and have not found anything to make it possible in VSS 6.0 . For now, it looks like the answer to our question is "No". Yep, it's possible! See this link: http://whyiamright

Export from Source Safe

时光总嘲笑我的痴心妄想 提交于 2019-12-03 11:03:59
问题 Is there a way to export files/folders from Source Safe? (i.e. getting rid of all .scc files, just like SVN export) 回答1: Just do a regular get, then run something like ATTRIB -R *.scc /S DEL /F /S /Q *.scc The first command removes the read only flag from those files. The second deletes everything that matches *.scc along the path. 来源: https://stackoverflow.com/questions/1069133/export-from-source-safe

Best way to migrate from VSS to Subversion?

纵然是瞬间 提交于 2019-12-03 05:40:27
问题 I'm a single developer looking to get off of Visual Source Safe and move to svn. A quick search brings up several tools, but I don't see a clear winner and I can't afford to spend a lot of time testing different tools. Has anyone done this successfully, and can recommend a method? 回答1: I recommend just adding your code to a new Subversion repository rather than importing from VSS. VSS has a convoluted version control model that doesn't translate well to many other systems, and just starting