Category Archives: Subversion (SVN)

Oops, I committed without a comment

Apache SubversionIt does not happen often, but when it does, I’m left scrambling and googling for how to retroactively set a comment on a specific Subversion revision.

Here’s my a note to myself on how to do it:

svn propset -r <revision> --revprop svn:log "Commit message" <URL>

where you need to plug in a <revision> and <URL>.

Trunk vs. HEAD in Version Control Systems

This aim of this note is to provide the shortest and simplest explanation of the concepts of trunk and HEAD in a Version Control System like CVS and Subversion (SVN.)

Like in botany, trunk is a tree’s central superstructure. All branches come out of the trunk:

Main development is performed in the trunk. Releases are branched for bug fixes and maintenance releases.

In the next diagram, the tip of the arrows for trunk and a branches are HEADs. Each branch and trunk have a HEAD.

That’s it!