Should Branch History Be Kept After a Merge?
As we’ve changed our development process to now work in feature teams and feature branches (much more on that in a later post), one of the things we’re discussing is whether or not to keep the branch history once a branch has been merged back into trunk.
Initially, we thought of course we’d want to keep the branch history. Check-in history and revision comments are very important to us and that seemed like the obvious decision. However, we’re now having second thoughts and are questioning whether or not the branch history even matters once it’s merged into trunk.
Our thinking is that first and foremost, trunk rules all. Trunk is the mainline and should be kept sacred and *always* in a good working state; afterall, we ship trunk. A branch is a segment of work with specific functionality for a certain amount of time that, when completed and merged into trunk, goes away. Obviously history of trunk is extremely important, but should you really care about all the incremental changes that occurred in a branch before the merge occurred? We’re beginning to think not.
So I wanted to ask the question and get feedback from you: should branch history be kept after a merge? Whether your answer is yes or no, I’d also like to see your reasoning in case we’re missing something. Start/join the discussion by leaving your comments.
Similar Posts:
-
http://michaeleatonconsulting.com/blog Michael Eaton
-
http://chadmyers.lostechies.com Chad Myers
-
http://devlicio.us/blogs/derik_whittaker Derik Whittaker
-
http://community.hydrussoftware.com/blogs/jeffesp/ Jeff Espenschied
-
http://simpable.com Scott Watermasysk
-
http://ericmatz.net Eric Matz



