GC-Utils is a software tool that offers several scripts facilitating the import and updating of CVS repositories, in a compact package.
To install gc-utils, simply extract the *.tar.gz file and follow the instructions below. First, switch into the directory and make the install using a prefix (usually /usr). Then, install as root by using the sudo command. From there, users can utilize the gc-import, gc-update, and gc-commit commands along with the appropriate manpages.
In terms of usage, gc-utils offers an easy process for importing from a CVS. To do so, specify where to fetch from and what to fetch using the gc-import command. This creates a git repository in a designated location and imports the specified module from the CVS repository. The -v option enables verbosity, while the -m option attempts to merge commits based on commit messages. Additionally, the -u option converts CVS tags with underscores to git tags with dots.
Maintaining an up-to-date git repository is simple with gc-utils. Users can easily update their repository with changes made in the CVS by running the gc-update command within their git repository. Note that this only works with projects previously imported using gc-import.
If a user made changes to their personal git repository and wishes to contribute them back into CVS, they need to use the SHA1 identifiers of the relevant commits. To do so, run git-log to see the SHA1 and then use the gc-commit command to commit the changes to CVS.
gc-utils creates a git repository and imports the CVS into a .cvs directory within the git repository. This ensures that gc-utils knows the location of the .cvs working copy and can easily utilize git-cvs* tools to complete the job of committing and updating.
In this latest release, gc-utils uses dashless git commands rather than unsupported versions from previous releases. Overall, gc-utils is a convenient and efficient solution for importing and updating CVS repositories into git.
Version 0.2.3: N/A