RE: Subversion Question

From: Dunbar, Norman <norman.dunbar_at_environment-agency.gov.uk>
Date: Mon, 7 Dec 2009 09:23:28 -0000
Message-ID: <919FC80F27E0C6428106496EDF92A7520A3F70F3_at_EXCCLUS05.PRODDS.NTNL>



Morning walid alkaakati,

>> Iam implementing subversion with tortoise and i want your
>> opinion on my repository layout:

The repository setup should always be the "best" for your installation.

In my case, I have trunk, tags and branches at the same level, all the (main development) work is done in trunk, when I make a release, I do it in tags. When I'm 'experimenting' I do it in branches and if it works, I merge it into trunk.

>> also suppose i have tagged release x.1.5 and i have a bug to
>> fix in release x.1.1 do i have to fix five relases and what
>> you do in this case?

You don't have to fix it in all 5 relases, unless you have customers on those releases and you still issue service packs for those releases. However, if you fix a bug in tags/x.1.1 then you can merge it with tags/x.1.2 through tags/x.1.5.

Or, you could branch tags/x.1.1 into branches/x.1.1.patch, fix it there and merge that back into tags/x.1.1 (although, I would create a new tag - tags/x.1.1.y) and create a patch script using tortoise as per section 4.22.1 in the help file.

Have you read the Subversion book -
http://svnbook.red-bean.com/en/1.5/svn-book.pdf - very helpful.

HTH Cheers,
Norman.

Norman Dunbar
Dunbar IT Consultants Ltd
Tel: 0779 3292 984
Tel: 0773 4531 439

Registered address:
Thorpe House
61 Richardshaw Lane
Pudsey
West Yorkshire
United Kingdom
LS28 7EL

Company Number: 05132767

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

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 Mon Dec 07 2009 - 03:23:28 CST

Original text of this message