gc-utils v0.0.4 released

Today I released version 0.0.4 of gc-utils. The new version includes various smaller fixes and code cleanup as well as a small test suite. In addition to that, I added the gc-utils(1) command, which is a wrapper around the gc-import(1), gc-update(1), etc scripts.

# gc-update -v
or …
# gc-utils update -v

Typing just gc-utils will show you all available gc-utils commands:

# gc-utils
gc-utils: 0.0.4
available commands
commit (1) – Apply a git commit to a cvs repository
import (1) – Structured import of a CVS repository into GIT
multi-commit (1) – Menu driven commits, diffs and logs between CVS and GIT repositories
update (1) – Update a GIT repository that was imported with gc-import

Also the manpages have a shortcut now:

# gc-utils help import
… manpage for gc-import

The most important change is that gc-utils now stashes your local changes before continueing the update process and rebases the cvs origin on top of your master branch instead of merging it, as merging might result in duplicated commits due to changing authors and timestamps.

Here is a shorted of changes:

  • gc-update: Rebase by default instead of merging the cvs origin
  • gc-update: Stash away local changes before rebasing
  • gc-update: Simplify by removing unecessary parameters
  • tests/: Test suite
  • manpages: Better command description

gc-utils is a small set of bash scripts that wrap git-cvsimport(1) to make importing cvs repositories and exporting commits back into cvs easier. It is licensed under the terms of the MIT/2-Clause BSD license. gc-utils is available at http://git.experimentalworks.net