A programming discipline for tracking, storing and retrieving revisions of source code.

learn more… | top users | synonyms (2)

266
votes
10answers
27k views

I'm a Subversion geek, why should I consider or not consider Mercurial or Git or any other DVCS?

I try to understand the benefits of distributed version control system (DVCS). I found Subversion Re-education and this article by Martin Fowler very useful. Mercurial and others DVCS promote a ...
26
votes
11answers
1k views

Business case for decentralized version control systems

I searched and couldn't find any business reasons why git/mercurial/bazzr systems are better than centralized systems (subversion, perforce). If you were trying to sell a DVCS to a non-technical ...
15
votes
7answers
587 views

How do you structure your shared code so that it is “re-findable” for new developers? [duplicate]

I started working at my current job about 8 months ago, and its been one of the best experiences I've had as a young programmer. It's a small company, and both my co-developers are brilliant guys. ...
-1
votes
2answers
7k views

Clearcase: Find out files checked in with the current snapshot view [closed]

If you have used clearcase before, then this question is for you. How do you determine all the files and their corresponding checkins?, given a snapshot view.
3
votes
2answers
698 views

Managing Eclipse projects in source control

I've been using eclipse for a long time to do development. One of the problems I've come across when working on other people's projects is if they come from source control, some of the eclipse project ...
7
votes
3answers
323 views

Should I know more than one implementation of version control?

I'm using Windows and am comfortable with SVN (well, TortoiseSVN) because it's dead simple. It works for me. However, because it's been working so well, I haven't any reason to try anything else. ...
15
votes
7answers
2k views

How do you version/track changes to SQL tables?

When working in a team of developers, where everyone is making changes to local tables, and development tables, how do you keep all the changes in sync? A central log file where everyone keeps their ...
13
votes
8answers
4k views

version control for small team [closed]

We are bootstrapping a new team of very small size (say 2-5) my question is: which type of version control works best for these kind of teams, either centralized or distributed.
4
votes
3answers
193 views

DVCS and different versions of the same Product

Let's say that we have an application, with two (or more) different versions. E.g. Professional and Lite editions. What would be the best way to keep the source under version control (DVCS in ...
41
votes
11answers
3k views

Should a developer always use version control [duplicate]

Possible Duplicate: Version control for independent developers? I've heard statements to the effect of: "Well it's just me working on this project so I don't need to put it under source ...
44
votes
8answers
7k views

Version control for independent developers?

Do you think it's worth it to use version control if you are an independent developer, and if so, why? Do you keep the repository on your own computer, or elsewhere, where it can serve as a backup?
5
votes
3answers
225 views

how to effectively manage multiple occurrences of one application

I have developed a web application for a client which is live to their customers. Recently, the application has been sold in such as way that it is replicated to other domain names so there are 4+ ...
9
votes
4answers
852 views

Advanced subversion techniques, what am I missing?

I started using SVN about 9 months ago and it's been a game changer to say the least. Although, I feel I'm still a bit lost. I feel like there is a lot more I need to take advantage of to really ...
26
votes
18answers
2k views

Is SourceSafe really safe?

Having spent all morning trying to check something in - I now realise I've lost a couple of days worth of work. Its happened before - and is apparently common occurrence with SourceSafe. Can ...
5
votes
4answers
639 views

Third-party repositories in Subversion; local mods?

I'm building a small app as an interface to support functions, monitoring, web-based running of unit tests, etc. This will be checked into Subversion. I want to include a third-party app which is ...
10
votes
4answers
343 views

Method for integrating various version control systems or choosing one over others, due to mergers and acquisitions?

Companies acquire other companies that use different version control systems. Is there a common wisdom on how to integrate such systems together, for example using a Subverson-GIT bridge or even ...
16
votes
5answers
2k views

What advantages do continuous integration tools offer on a solo project?

If you're doing a solo project - would you use CI tools to build from a repository? I've used Hudson and Cruise Control in a team environment, where it's essential to build as soon as anyone checks ...
6
votes
6answers
598 views

What's the best way to explain branching (of source code) to a client?

The situation is that a client requested a number of changes about 9 months ago which they then put on hold with them half done. They've now requested more changes without having made up their mind ...
5
votes
1answer
255 views

How to set up a distributed version control that can commit to subversion

We have a trac server setup that works with the svn commits, so we can do things like "fixed #183" in the commit messages, and reference the changes involved. Right now I have eclipse with subclipse ...
8
votes
11answers
585 views

Should my colleagues review each others code from source control system?

So that's my story: one of my colleagues uses to review all the code, hosted to revision system. I'm not speaking about adequate review of changes in parts that he belongs to. He watches the code file ...
10
votes
9answers
788 views

What source control do i want for large project in average company? [closed]

I know git is great for open source projects. But i was wondering. For a company with 20 programmers on a 1 year project which source control is desirable? From what i heard GIT uses pulling, wouldnt ...
0
votes
3answers
115 views

Useful Scripts for CM?

I'll be forming a remote team, and I want to be able to use scripts (or something) to make sure that people's code is checked in every night. I currently use some BASH scripts that are kindof wonky ...
2
votes
3answers
163 views

What arguments exist against ever using the keyword substitution feature in many version control systems?

Are there any arguments out there against using the keyword substitution (i.e. replacing $Revision$ with $Revision: 5$) feature in many version control systems? Are there any overall bad practices ...
3
votes
3answers
374 views

We need a DVS. They need an SVN repo. What should we do?

We are a team of two people who need a versioning system for their university project. Due to administration issues, the graders need us to register on a site that happens to only support SVN; ...
1
vote
3answers
307 views

Mod lines in Java code

Often in C code (and some other languages as well) I have seen a section in the top-level comments for mod lines. These include the date a modification to the file was made, the user who made the ...
6
votes
6answers
208 views

not checking in from the project root

Whenever I do a check-in, I always check in from the root of the project... i.e. check in all the files in my working copy, so after the check-in the source control repo contains exactly the same set ...
7
votes
4answers
585 views

What are good source control check-in strategies for large tasks?

The general rule is to keep check-ins small and check-in often. But sometimes the task requires large changes to the underlying framework. Then checking in before compeleting the task will break the ...
6
votes
6answers
459 views

Noobie wants to use source control, how would you guide them?

Let's say you know of an anonymous noobie that wants to be lead upon the path of righteousness. This noobie wants to use some sort of source control tools simply for the experience of using source ...
2
votes
2answers
613 views

Subversion server hierarchy, need advice

I have a subversion server setup that I need to look after several projects, grouped by language, then client (company) and then by project e.g. repos/ flex3 \com1 \project1 ...
5
votes
5answers
3k views

What are the most popular revision control systems? [closed]

There are a lot of choices available with respect to revision control (SVN, CVS, GitHub, etc.). What are the major options out there? What are the most popular ones right now (although I'm not sure if ...
0
votes
2answers
199 views

What timestamp to use when pulling files from a VCS system?

Yesterday, a colleague asked me how to configure our VCS to timestamp the local copy of files pulled from the repository with the modification time in the repository. I've always believed that they ...
6
votes
2answers
4k views

How do you structure your branches in TFS

My group at work has been trying to come up with a good process that we can use with TFS. I'm just wondering if some of you guys had some successful strategies with using TFS across multiple sites ...
49
votes
19answers
5k views

When is a version control commit too large? [closed]

I've heard in several places "Don't make large commits" but I've never actually understood whats a "large" commit. Is it large if you work on a bunch of files even if there related? How many parts of ...
18
votes
4answers
1k views

Are there advantages to using a DVCS for a solo developer?

Right now, I use visual svn on my server, and have ankhsvn/tortoise on my personal machine. It works fine enough, and I don't have to change, but if I can see some benefits of using a DVCS, then I ...
20
votes
8answers
4k views

How to manage a Closed Source High-Risk Project?

I am currently planning to develop a J2EE website and wish to bring in 1 developer and 1 web designer to assist me. The project is a financial app within a niche market. I plan to keep the source ...
4
votes
2answers
1k views

How do you feel about using online Version Control Systems? [closed]

I have been running my own home-based server for ages for my own personal code, and have tried one system or another (SVN, VSS, etc). But recently, I've enjoyed having some more precious (no source ...
6
votes
6answers
691 views

Git & project backups [closed]

I've been using SVN for sometime and have been making an awkward, but soon to be rewarding transition over to git. Theres quite a few side / small projects that I'm working on which 90% will never ...
14
votes
3answers
2k views

Good naming convention for named branches in {DVCS} of your choice

We're integrating Mercurial slowly in our office and doing web-development we started using named branches. We haven't quite found a good convention as far as naming our branches though. We ...
18
votes
11answers
451 views

Fixing a bug while working on a different part of the code base

This happened at least once to me. I'm working on some part of the code base and find a small bug in a different part, and the bug stops me from completing what I'm currently trying to do. Fixing the ...
10
votes
4answers
531 views

Do FOSS version control systems work for enterprises? [closed]

Let's say a large corporation is planning to replace it's existing version control system. Let's say it is only considering systems from major vendors that cost hundreds of thousands of dollars ...
4
votes
3answers
649 views

What is the best setup for distributing a PHP application?

What is a recommended setup in terms of source control, builds, testing, bug tracking, and deployment for a downloadable PHP application (a la Wordpress, phpBB, Magento, etc.)? As a developer working ...
18
votes
8answers
1k views

How should code in version control be stored?

How should code in version control be stored? Developer friendly? so that programmer can quickly take the latest and able to run from his editor without doing many changes? (like config files ...
5
votes
6answers
748 views

Do we really need to save source code?

While hacking on some static analysis tool, I realized I could make the task at hand (irrelevant for this question) much easier by saving the source files on-the-fly, while they were being edited. ...
17
votes
7answers
642 views

How important are daily builds?

One of the criteria of the Joel Test is daily builds. The idea is that if the build is broken, whoever broke it is around to fix it up. If the build cannot be fixed, everyone will have to check out an ...
2
votes
1answer
255 views

What demands should be placed on source repository / versioning tools? [closed]

And do you know a tool which meets those demands?
22
votes
12answers
2k views

Should developers be forced to check-in before leaving work each day, even if the code does not compile? [closed]

During a previous consulting position, the developers where told to check-in code on a nightly basis, regardless if it complied or was complete. Managers were afraid of losing any code and said now we ...