version-control

Why to use SVN? Any hidden pros (over GIT/Mercurial/Bazaar) there? [duplicate]

荒凉一梦 提交于 2019-12-20 09:36:49
问题 This question already has answers here : Closed 9 years ago . Possible Duplicates: Why is git better than Subversion? I've already read a lot (not enough to get the perfect picture though) about versioning systems, and the obvious conclusion is that GIT is simply the best. Or Bazaar maybe. Or Mercurial. But if so it was, then nobody would be using SVN, but they still do. Why? I myself have no own opinion on what v.c.s. is generally the best yet because of lack of experience with them. Could

In what ways is Mercurial better/worse than TFS? [closed]

一个人想着一个人 提交于 2019-12-20 09:34:17
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I've just joined a new company and at the moment we're using Microsoft SourceSafe as our repository. The settings aren't ideal and it

Perforce blame

被刻印的时光 ゝ 提交于 2019-12-20 09:33:20
问题 Is there an equivalent of svn's blame for Perforce on the command line? p4 annotate doesn't display usernames -- only changeset numbers (without ancestor history!). I currently have to track code back through ancestors and compare against the filelog, and there just has to be an easier way -- maybe a F/OSS utility? 回答1: Try taking a look at a couple of tools that I think could get you most of what you need: 1) p4pr Perl script by Bob Sidebotham and Jonathan Kamens. 2) Emacs Perforce interface

How to add Stored Procedures to Version Control

为君一笑 提交于 2019-12-20 09:24:11
问题 Our team just experienced for the first time the hassle of not having version control for our DB. How can we add stored procedures at the very least to version control? The current system we're developing relies on SPs mainly. 回答1: Background: I develop a system that has almost 2000 stored procedures. The critical thing I have found is to treat the database as an application. You would never open an EXE with a hex editor directly and edit it. The same with a database; just because you can

TFS query (in Visual Studio) to get all check-ins

三世轮回 提交于 2019-12-20 09:15:03
问题 I'm trying to get a list of all check-ins (limited / ordered by date) via the TFS query editor in Visual Studio Team Explorer. I can make a query that lists all bugs, sprint backlog item or product backlog item, but I can't find the actual check-in. Is it's possible or should I make (SQL) queries directly on the database. Ideas? 回答1: Just open the Team Explorer window, expand the TFS project, and double-click the Source Control node there. Then you can simply right-click a project or

How to display list of repositories from subversion server

一个人想着一个人 提交于 2019-12-20 09:12:49
问题 I'm looking for a way to search a whole subversion server. I already got a piece of the puzzle to search within a repository. Now I need to do this for every repository. Update: I have to access this list from some unix shell script (perl, bash, etc.) 回答1: I was also looking to list repositories in SVN. I did something like this on shell prompt: ~$ svn list https://www.repo.rr.com/svn/main/team/gaurav Test/ Test2/ Test3/ Test4/ Test5/ Test6/ 回答2: If you enable svn via apache and a

FileVersionInfo and AssemblyInfo

老子叫甜甜 提交于 2019-12-20 09:11:50
问题 Given this snippet from Blah.dll's AssemblyInfo.cs: [assembly: AssemblyVersion("3.3.3.3")] [assembly: AssemblyFileVersion("2.2.2.2")] And then in a separate .exe: var fileInfo = FileVersionInfo.GetVersionInfo("/path/to/Blah.dll"); fileInfo.ProductVersion == fileInfo.FileVersion == true; Other SO questions show ProductVersion being "correct", curious if there is something odd about how I'm using it. Shouldn't ProductVersion be "3.3.3.3" and FileVersion be "2.2.2.2"? What would cause it to

Should the .gradle folder be added to version control?

旧巷老猫 提交于 2019-12-20 09:07:25
问题 Gradle creates a folder called .gradle . Should I track it with my version control (i.e. git)? More importantly, why / why not? 回答1: Should I track the .gradle directory? No. It can safely be ignored. Why should I ignore it? It's purely for caching information, you don't want it in your repo because: it can get big and be full of binary files there can be machine specific data in there there's a lot of churn in there (you'd be constantly committing changes to files in there) everything in

NuGet Enterprise - best practices for different maturity levels of packages

不问归期 提交于 2019-12-20 09:03:21
问题 We want to use NuGet to share assemblies amongst developers in our organisation. We are currently looking at setting up three NuGet feeds, like this: Release-feed: Stable release-quality versions of the assemblies. QA-feed: Assemblies built in the master-branch (our integration branch). Development-feed: Assemblies built in any of the feature branches (sharing progress). Local builds on the developers' machines should not be sent to any of these feeds. Only the builds done by the build-server

What is the difference between configuration management and version control?

别来无恙 提交于 2019-12-20 08:57:12
问题 Can anyone explain in simple terms what the difference is between configuration management and version control? From the descriptions I've been able to find on various websites, it seems like configuration management is just a fancy term for putting your config files in a source control repository. But others lead me to believe there is a more involved explanation. 回答1: Version control is necessary but not sufficient for configuration management. Version control happens in some central or