RE: Source Control for DB objects

From: Dunbar, Norman (Capgemini) <"Dunbar,>
Date: Thu, 4 Aug 2011 22:31:10 +0100
Message-ID: <919FC80F27E0C6428106496EDF92A7521331416E_at_EXCCLUS05.PRODDS.NTNL>



Evening,

> Could someone enlighten my life, and tell me why git/mercurial/.... is
SO much better than, say subversion,
> surround, clearcase etc...

Well I don't know about mercurial, surround or clearcase, never having used them, but I use Subversion and I've played with git (and bought the book!), so here's what I think:

In git, forking is encouraged. You copy the repository (well, you clone it) and it comes down onto your PC. You now do your work, fork the repository, do your own thing, whatever. All changes, additions, deletions etc that you commit only commit to your local PC's repository - the one you cloned is not affected and, in fact, you can do your work offline - on a plane for example - and not have to worry about needing an internet connection when you come to commit.

In subversion, a commit must talk to the repository.

Mercurial, I think, is similar. As I said, I haven't used it yet, but I've downloaded the free book to get a heads up on the matter.

So, out there in Linux land, all the developers have their own copy of the main Git repository and do their work exclusively on that. At some point they can push their changes back to the main git repository, or Linus, should he wish to, can selectively pull (I think) changes into his main repository.

There are other ways of working with Git, the QT guys allow you to clone it, but no pushes - a repository admin at Nokia merges changes that have been made/submitted.

When all is said and done, it's just (!) a version control system that allows you to do all your work offline whereas the non-distributed systems, subversion, cvs, etc, require you to be online when updating the repository.

In a nutshell!

HTH Cheers,
Norm.

Norman Dunbar
Contract Senior Oracle DBA
Capgemini Database Team (EA)
Internal : 7 28 2051
External : 0113 231 2051  

Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.

We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.

If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Aug 04 2011 - 16:31:10 CDT

Original text of this message