3

At my workplace we use CVS tags to the extent that nobody ever retrieves the HEAD version of the trunk. Is there any reason why that version still needs to build fully?

The reason I ask is because recently there was a need to revert to older revisions of certain files, and instead of moving those versions to HEAD, we simply moved back the tag.

4
  • If the developers don't retrieve HEAD when starting on a new task, what do they retrieve? – Winston Ewert May 31 '16 at 23:20
  • @Winston another task's tag. – snips-n-snails May 31 '16 at 23:28
  • @traal, how do know which tag to start from? – Winston Ewert May 31 '16 at 23:53
  • @Winston, we choose one that fulfills our requirements, usually a recent one. – snips-n-snails Jun 1 '16 at 1:45
6

The idea of HEAD is that every time a developer starts a task, they start with HEAD, and when they are finished they merge back into HEAD. That way you always know where to find the latest version of the code.

You are doing something different. It sounds like each programmer begins by selecting a somewhat arbitrary tag from the existing tags and starts from there. That sounds like it would result in a huge mess, but I don't really know what you are doing or why you are doing it that way.

Regardless, you aren't using HEAD the way the recommend practices suggest. As a result, keeping HEAD building is pointless. If you aren't going to use HEAD the way it its intended, don't spend time maintaining it.

However, you really should consider using the version control system the way it was intended.

4
  • "The idea of HEAD is that every time a developer starts a task, they start with HEAD, and when they are finished they merge back into HEAD." Do you have a source to support this statement? – snips-n-snails Jun 2 '16 at 2:23
  • @traal, for CVS in particular: commons.oreilly.com/wiki/index.php/Essential_CVS/Using_CVS/… – Winston Ewert Jun 2 '16 at 3:15
  • HEAD isn't mentioned in the section you linked to. – snips-n-snails Jun 2 '16 at 3:25
  • @traal, I assumed by HEAD you were referring to the HEAD of the trunk, are you not? My understanding is the HEAD in CVS always refers to the head of trunk, which is discussed in that link. – Winston Ewert Jun 2 '16 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.