Articles

Commit early, commit often!

In General on 2010-05-14 by Jukka Zitting Tagged: ,

A huge commit was made in a log4j branch yesterday. The followup discussion:

Comment:

“I haven’t had a chance to review the rest of the commit, but it seems like a substantial amount of work that was done in isolation. While things are still fresh, can you walk through the whats in this thing and the decisions that you made.”

Reply:

“I didn’t want to commit code until I had the core of something that actually functioned. I struggled for a couple of weeks over how to attack XMLConfiguration. […] See below for what I came up with.”

Followed by ten bullet points about the changes made. Unfortunately the only thing our version control system now knows about these changes is “First version”.

Advertisements

4 Responses to “Commit early, commit often!”

  1. Good thing you can adjust revision logs after the fact in Subversion: just edit the svn:log property on the revision. Anyone with commit on the directory can do this.

  2. Good idea, thanks!

  3. […] probably heard it before: “Commit early, commit often“. It applies to teams, and it applies to […]

  4. Yeah, this kind of issue is endemic to centralized VCSs like Subversion. The only way to avoid it is to use branches for every such experimental feature (or just use a DVCS like Git and avoid the whole mess ;)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: