CVS2FOSSIL(1)

NAME
cvs2fossil - convert CVS repository to fossil

SYNOPSIS
cvs2fossil [-m] [-f fixup-sql-script] [-s merge-limit-seconds] source destination

DESCRIPTION
cvs2fossil is a script to convert a cvs(1) repository to a fossil(1) repository.

source must be a CVS repository (the server side, i.e. the RCS files, not a checkout). cvs2fossil will create destination, an intermediate sqlite3(1) database, and destination.fossil, the fossil conversion. It will also run some tests on the conversion to report possible problems.

Supported options:

-f fixup-sql-script
    Run the SQL code in fixup-sql-script early in the conversion. This script should be used to fix timewarp issues in the repository. See the cvs2fossil source code for details.

-m  Remove the top-level directory from the imported file paths, i.e. when converting foo/bar/* the path names in the result will start with bar.

-s merge-limit-seconds
    Some CVS operations take longer because of network speed or number and size of files involved. Thus, RCS dates of files belonging to one commit may have different time stamps. For this reason, cvs2fossil merges changes to files that have the same commit message but slightly varying time stamps into one commit. The merge-limit-seconds argument specifies the maximum number of seconds two commits may be apart (using the RCS date of the change) before they are seen as two separate commits. The default is 600 seconds (10 minutes).

WARNINGS
These warnings usually indicate that some manual changes were done to the RCS files.

“Files with default branch, but no vendor branch”
The branch symbol for the vendor branch was removed.

“Disconnected revisions”
The branch symbol was removed, but the revision was left lying around.

“Revisions not newer than previous revision”
A newer revision of a file has an older timestamp than an older revision it is based on.

SEE ALSO
cvs(1), fossil(1), sqlite3(1)