visual-sourcesafe

SVN Delete with wildcard?

拜拜、爱过 提交于 2019-12-07 12:29:22
问题 I'm migrating a VSS repository to SVN and inadvertently included all of the _vti_cnf, *.scc files in the first check-in. I'd like to remove these from SVN. (Not permanently, of course - just in the HEAD). The application in question is quite large, and finding and deleting these files on a folder-by-folder basis will take forever. Suggestions? There must be some obvious way to do this, but the proximity of the weekend is interfering with my higher brain functions. 回答1: Jonas' answer should

Why don't files automatically get checked out from VSS when I edit them?

感情迁移 提交于 2019-12-07 02:25:30
This is driving me crazy and has resulted in lost work (not much, at least). Normally, when I edit a file in Visual Studio, it's supposed to automatically check that file out in source safe. On multi-project solutions (e.g., web app with class libraries), sometimes none of the files in one project would automatically get checked out, though exiting & reloading visual studio may fix that problem temporarily. Furthermore, project files are never automatically checked out. Whenever I add/remove code files, I have to remember to explicitly check out the project file as well (otherwise we'll have

Visual Studio 2015 Professional and Visual SourceSafe (VSS)

巧了我就是萌 提交于 2019-12-06 16:41:43
I have a need to sync up with a legacy source control which is using VSS. I cannot find any documentation on how to get/enable VSS in Visual Studio 2015 Professional (from MSDN license). I have looked at the dropdown in the Source Control menu, under Tools -> Options, and the only plugins that exist there are Microsoft Git Provider, Microsoft Team Foundation Server, and None. FYI - I found this: http://www.dynamsoft.com/blog/version-control-how-to/how-to-connect-visual-studio-2013-to-visual-sourcesafe/ Seems this is a viable solution (although it is only a 30 day trial). Will mark as answer

Automatically fetching latest version of a file on import

折月煮酒 提交于 2019-12-06 15:14:51
I have a module that I want to keep up to date, and I'm wondering if this is a bad idea: Have a module (mod1.py) in the site-packages directory that copies a different module from some other location into the site-packages directory, and then imports * from that module. import shutil from distutils.sysconfig import get_python_lib p_source = r'\\SourceSafeServer\mod1_current.py' p_local = get_python_lib() + r'\mod1_current.py' shutil.copyfile(p_source, p_local) from mod1_current import * Now I can do this in any module, and it will always be the latest version: from mod1 import function1 This

Valid binding root for VSS?

送分小仙女□ 提交于 2019-12-06 07:45:01
问题 I'm trying to fix up my Visual Source Safe bindings for a project I have and when I select the location I believe a project should be bound to, i get a dialog that says: The folder you chose is not a valid binding root for the projects you have selected. You attempted to retarget a solution to a source control folder that is not within the solution's root. In the change source control dialog box, specify the root for the solution. Select the folder 5 levels higher in the tree to chagne the

VSS to Subversion

蹲街弑〆低调 提交于 2019-12-06 04:24:58
I'm researching a potential move from SourceSafe to Subversion and we are struggling with the edit/merge/commit vs. checkout/update/checkin paradigm. The primary concern is how do you know which files are checked out with Subversion (and to whom)? Is there a Subversion equivalent to "Status Search" in VSS? Or is it not possible because of the lack of "reserved checkout"? Also, if we do try and implement "reserved checkouts" with Subversion via "locks", is there a GUI (TortoiseSVN, VirtualSVN, etc.) that supports "lock on checkout"? Thanks. Update: Example, before we do a build/release we want

Git/SVN for asp.net development instead of VSS?

℡╲_俬逩灬. 提交于 2019-12-05 19:37:46
At work, we are using ASP.net 2.0 and VSS. VSS is a beast, we are continually having issues with people checking out files and there is no branching - makes it crazy. I know SVN/GIT is mainly used by open source developers, are there any downsides to ASP.NET developers using it? I have been pushing for SVN internally, but am thinking GIT might also be a great option. Our team is spread across 3 continents. I've used Subversion in a corporate setting before with great success. I haven't personally used Git in a corporate environment, but with distributed offices it sounds like a good fit.

Replicating Sourcesafe's link ablity in SVN or other version control systems?

寵の児 提交于 2019-12-05 12:10:57
Currently my team uses Visual Sourcesafe, and being very familiar with how horrible the GUI is first hand and having heard the internet mummer about how unreliable it is, I've been trying to push a move to SVN. Today I was talking to manager about the eventual move, which he supports, and he asked if it was possible to create sourcesafe style links in SVN. Links, for people not familiar with sourcesafe, work the same conceptually as file links under Linux. We use them to link shared code/libraries between projects. I explained that there was no way to create links using SVN, and he brought up

How to get a file from sourcesafe programmatically?

别来无恙 提交于 2019-12-05 02:13:48
问题 I need to get a file from sourcesafe database programmatically. Any idea of how to do it? ps: I'll do that by using C#. 回答1: using System; using System.Collections.Generic; using SourceSafeTypeLib; namespace YourNamespace { public class SourceSafeDatabase { private readonly string dbPath; private readonly string password; private readonly string rootProject; private readonly string username; private readonly VSSDatabaseClass vssDatabase; public SourceSafeDatabase(string dbPath, string

Valid binding root for VSS?

拟墨画扇 提交于 2019-12-04 14:54:49
I'm trying to fix up my Visual Source Safe bindings for a project I have and when I select the location I believe a project should be bound to, i get a dialog that says: The folder you chose is not a valid binding root for the projects you have selected. You attempted to retarget a solution to a source control folder that is not within the solution's root. In the change source control dialog box, specify the root for the solution. Select the folder 5 levels higher in the tree to chagne the source control bindings correctly. What on earth does that mean? There are no folders 5 levels higher. I