Best practice for handling redundant branches

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
Samuel Jack

Best practice for handling redundant branches

Post by Samuel Jack » Fri Mar 19, 2004 11:04 am

Just wondering what your thoughts on best practice are in the following scenario:

I make a branch from the trunk in order to work on a particular feature. Once that feature is complete I merge the branch back into the trunk.

Should I consider the branch redundant now. Is it a candidate for deleting and obliteration?

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Mar 19, 2004 3:46 pm

Yes, if you no longer need the branch, it's ok to delete/obliterate it. It's always good to remove unneeded nodes from your tree. Note that you'll get most of the benefit just by deleting the nodes. Obliterating will only give you a major speed/space improvement if the branch had lots of changes or lots of nodes.

Post Reply