The Artima Developer Community
Sponsored Link

Java Answers Forum
Version Control Question: Branching, Labeling/Tagging

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mike Dunbar

Posts: 12
Nickname: mikedunbar
Registered: Jun, 2004

Version Control Question: Branching, Labeling/Tagging Posted: Oct 25, 2004 7:01 AM
Reply to this message Reply
Advertisement
I'd like to hear what techniques you've found successful for fixing bugs in a previous release while simultaneously

a) Working on the next release
b) Propagating the bug fix to the next release
c) Not propagating new code with bug fixes for the previous release

I'm currently labeling each build (thanks to Anthill), but I'm wondering if I need to make use of branching (one for the previous release, one for next release) as well. The way we did this at the my last job feels to manual, and error prone:

1) Fix the bug in the main/only branch
2) Extract all files with revision label (or date) of previous release
3) Extract the current revisions for the file(s) containing the bug fix, overwriting the versions obtained in step 2.
4) Run the build script.

The big problem I see is that the collection of versions that I've just assembled has no label/tag, or easy way to get back to it if another bug is found. It seems like it would be cleaner to have a maintenance branch for the previous release, where all changes were immediately merged to the main branch. The point of the branch would be to not pick-up changes for the next release, while maintaining the latest bug fix versions of the previous release. I'm hoping it would then be a one-step/automated process to 'build maintenance branch', by supplying a label or something else to denote what revisions to build.

Does this sound right, or can I achieve what I'm aiming for with the current labels/tags I've been assigning without branching?

Thanks In Advance,
Mike

Topic: EJB_que Previous Topic   Next Topic Topic: Singleton classes and Threadsafe

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use