RE: Source Control for DB objects

From: Dunbar, Norman (Capgemini) <"Dunbar,>
Date: Fri, 5 Aug 2011 14:52:27 +0100
Message-ID: <919FC80F27E0C6428106496EDF92A75213314992_at_EXCCLUS05.PRODDS.NTNL>



>> Norm's given a good comprehensive reply,
Ta!

>> with subversion you
>> don't take any kind of lock when you checkout.
This is indeed the case. One of the tenets of Subversion is to completely avoid locking files.

>> My understanding of it is that a checkout is really just a
>> download of a given version of the files to your machine.
Yes. When you checkout a file/folder/tree/project, you are downloading a copy of everything that you requested as of a particular point in time - that point being the most recent commit (to that project).

>> There is a separate operation to take a lock on file(s), but
>> this is explicit.

It is explicit and I've never had to use it.

One other thing I really should mention, NEVER EVER rm a file or folder under version control. Use the Subversion tools to do so. Ditto for renaming a file.

You can get your working folder into all sorts of trouble if you do so plus, a commit or update may break.

I've had to sort out a couple that other people did when they removed a folder then recreated it with the same name. It is not the same *object* as the one in the repository. Grief all round!

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 Fri Aug 05 2011 - 08:52:27 CDT

Original text of this message