version-control

Mercurial repository layout for multiple branches

I have a number of quasi-related projects that I want to version control. In SVN I would set them up as multiple directories within a single project /scripts #updates in sync with project1 & project2 /project1 #requires database /project2 #requires database /database Naturally other SVN layouts are possible for this toy example, but ...

Git: Move recent commit to a new branch

I'd like to move the last several commits I've made to master to a new branch and take master back to before those commits were made. Unfortunately, my Git-fu isn't strong enough yet, any help? Thanks. ...

How to build a list of integers 1 to 10 using recursive accumulate in scheme?

(define (accumulate combiner null-value term a next b) (cond ((> a b) null-value) (else (combiner (term a) (accumulate combiner null-value term (next a) next b))))) Using this accumulate procedure i need to build a list from 1 to 10... This is what i have.. I am still fuzzy on how accumulate wor...

TeamCity & Subversion: Checkout copies ALL tags to buildagent's checkout directory

We have the following URL: URL: https://dev-01:8555/svn/Shop We have the following structure in SubVersion Shop --trunk --branches --tags The problem is, when I do a build, under the buildagent directory, I get every single tag in the repository copied over to the buildagent. Is there a way to only retrieve the HEAD revision to effec...

How to tell if someone has downloaded the latest code

Is there a way I can tell (other than in the SVN Log...because it only shows me if someone committed) who has updated recently so that I know they have downloaded my code? I'm looking specifically into updates (not commits which can obviously be seen in SVN Log). ...

How do I remove a file from svn versioning without deleting it from every working copy?

My situation is that a bunch of files are checked into svn which are very annoying to have under source control (specifically a log4j.properties file), and I would like to remove them from version control. I already know how to remove a file from svn version control in my own local working copy, as in this question and this one, but tha...

Team Foundation Server + Visual Studio 2008 Pro. A worthwhile combination?

Consider the use case of: Team Foundation Server (Workgroup edition?) Visual Studio 2008 10-15 developers ~10 SQL Server devs and admins (data warehousing/reporting) The needs are: replace Visual SourceSafe as the defacto version control system continue to use VS2008 Pro allow the SQL-focused users to leverage the TFS version contr...

What program/utility uses the special string "@(#)" in source code?

In comments in source code (especially older code), one may see in the header comments the filename, date and perhaps other info in this special format: /* @(#)fdlibm.h 1.5 95/01/18 */ (see also: http://www.google.com/codesearch?q=%22%40%28%23%29%22&hl=en&btnG=Search+Code ) This is quite similar (or perhaps related?) to the RC...

svn externals ... yes or no?

I've read a few answers on here that condemn the use of svn:externals. I do see how they can be misused, and it does make us more dependent on Subversion, but I really don't see our group moving away from it anytime soon. Anyway, here's my dilemma. We have Solutions that reference multiple Projects which are in their own section of ...

How to keep track of the SCM revision in the build versions automatically?

I want to look at a production binary and know which revision in the SCM corresponds to that build. How it is possible? Can I accomplish that in Visual Studio using VSS? ...

Source Control Tutorials for Implementing them on C#, Java Developments.

Hi, As a one-man-company taking custom-development jobs (a.k.a. Gun For Hire), the later more complex than the earlier, I'm finding myself in the situation I do really NEED to improve my practices in order to keep the pace and be able to bring more people to work on taks of completing prototypes, making tests, etc. My question is: Wher...

What to do with 3rd party Javadoc

Looking to see what others do with 3rd party (vendor) java documents? Do they get placed under source control so everyone can have access to them? Placed out on a local shared directory? other solutions that people have to work well. We use clearcase and have developers spread out through the US along with a couple of off shore groups...

Newbie Git Question

Hi guys, I've got two branches--master and development. Development contains a few completed new features and a couple unfinished modifications--nothing's committed yet, though. Master hasn't changed since the creation of the dev branch. I want to commit the completed features to dev and merge those back into the master branch for dep...

Non-obtrusive version control

I'm looking for a way to put several of my projects under version control, with the least amount of filesystem-level obtrusiveness. The rationale for this is because my dev environment is mostly FS-based (total commander + notepad++ + wing + scripting tools with python), so FS changes (including, and most annoyingly the .svn directory o...

What is the difference between configuration management and version control?

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 ...

Change Management suggestions?

I'm dangerously close to launching a pretty heavy web app and I've got almost everything out on my server in QA. I'm still touching up and making changes here and there and although I'm taking nightly snapshots of my server I would still like to have some form of change management in place so I can determine exactly what changed in my en...

Need an encrypted online source code backup service.

Please note this is not a question about online/hosted SVN services. I am working on a home based, solo developer, project that now has commercial significance and it is time to think about remote source code backup. There is no need for file level check in/out, all I need is once a day or once a week directory level snapshot to remote ...

Unable to add a new item to source control?

I hope someone can help here, we're having an incredibly annoying time with Visual Studio 2008 and Visual SourceSafe 8. Basically, when anyone involved with the Web Application Project attempts to add a new "item" (eg. a CSS file) they get the following error: An error or user cancellation occurred during checkout. Some files may no...

How to move to a new version control system

My employer has tasked me with becoming our new version control admin. We are currently using two different version control systems for two different code bases. The code/functionality in the two code bases overlap in some areas. We will be moving both code bases to a new version control system. I am soliciting ideas on how to do this....

How does one make a source folder project to be "public" in ProjectLocker?

When creating a new project in ProjectLocker, by default it makes the project private, and you have to explicitly add people to the project. What if you simply want to make the project public. Seems like you should be able to do it, but the UI is unclear. ...