EnglishFrenchSpanish

Ad


OnWorks favicon

cvsconvert - Online in the Cloud

Run cvsconvert in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cvsconvert that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cvsconvert - perform a Git conversion and test against the CVS original

SYNOPSIS


cvsconvert [-v] [-n] [-p] [-k expandspec] [repo | repo/module]

DESCRIPTION


cvsconvert performs a conversion of a CVS repository to Git and checks the tree contents
at all branch tips and tags to verify that the histories are the same.

(An exception: synthetic gitspace branches enamed *-UNNAMED-BRANCH created to collect
homeless CVS commits are not checked. You will see a warning when one of these is
skipped.)

The single argument must be a path to a directory containing a a CVS repository or module.
If it is a CVS top-level directory and there is only one module beneath the module need
not be specified.

The Git conversion is left in a directory named after the repo argument, with a suffix of
"-git".

Normal behavior is for the program to report on each branch and tag, saying "trees match
as expected". There are two kinds of problem report:

"file manifests don’t match": Indicates that the CVS and Git versions of this revision in
the history contain some filenames that don’t pair up with each other. (Git and CVS
ignore-pattern files are ignored and will not trigger this message.) When this message
occurs, files in common are still checked for equality.

"%s and %s are different": Two corresponding CVS and Git files do not compare equal. A
diff listing will follow.

TROUBLESHOOTING


There are two kinds of non-serious conversion glitches: file content mismatches due to
expanded keyword fields in masters, and files deleted in CVS that occur only in the
gitspace manifests associated with tags.

You can spot content mismatches due to keyword expansion easily. They will produce
single-line diffs of lines containing dollar signs surrounding keyword text. Because
binary files can be corrupted by keyword expansion, by default cvs-fast-export behaves
like cvs -kb mode and does no keyword expansion of its own. Thus, you should never see
such mismatches unless you have passed in a -k option.

However, you might want to pass in -k k if (a) you believe the CVS masters might contain
expanded keyword fields but don’t want to clean them up by hand, and (b) you are confident
your repository contains no binary files that might false-match an RCS/CVS keyword. If you
are wrong about assumption (b) you will receive warning messages about content mismatches
in the binary files.

Manifest mismatches on tags are most likely to occur on files which were deleted in CVS
but persist under later tags in the Git conversion. You can bet this is what’s going on
if, when you search for the pathname in the CVS repository, you find it in an attic
directory.

These spurious reports happens because CVS does not always retain enough information to
track deletions reliably and is somewhat flaky in its handling of "dead"-state revisions.
To make your CVS and git repos match perfectly, you may need to use add delete fileops to
the conversion - or, more likely, move existing ones back along their branches to commits
that predate the gitspace tag - using reposurgeon(1).

Manifest mismatches in the other direction (present in CVS, absent in gitspace) should
never occur. If one does, submit a bug report.

Any other kind of content or manifest match - but especially any on the master branch - is
bad news and indicates either a severe repository malformation or a bug in cvs-fast-export
(or possibly both). Any such situation should be reported as a bug.

Conversion bugs are disproportionately likely to occur on older, branches or tags from
before CVS had reliable commitids. Often the most efficient remedy is simply to delete
junk branches and tags; reposurgeon(1) makes this easy to do.

If you need to file a bug, please visit the project website to learn about the
bug-reporting procedure. There are specific things you can do when preparing the report to
make a rapid resolution of the problem more likely.

OPTIONS


-p
Enable progress reports from cvs-fast-export as it runs.

-k
Pass a keyword-expansion specification to cvs-fast-export(1) and cvs(1).

-n
Test only, do not keep the Git conversion after emitting diagnostics.

-v
Verbose. Show subcommands as they are being executed, and various debugging messages.

-q
Tell cvs-fast-export to run quietly.

LIMITATIONS


This program does not cope gracefully if CVS tagnames that are not legal for Git had to be
sanitized during conversion.

Because of the way this program works around CVS’s requirement for a CVSROOT directory, it
will require directory write permission on the repository directory in that case -
otherwise it will abort after a CVS message "failed to obtain dir lock in repository". The
repository contents are not modified.

The program needs the cvs -R option to access the repository read-only. It will therefore
fail with versions of GNU CVS older than 1.12.1 (2005) that do not have this option.

REPORTING BUGS


Report bugs to Eric S. Raymond <[email protected]>. The project page is at
http://catb.org/~esr/cvs-fast-export

Use cvsconvert online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

  • 1
    abidiff
    abidiff
    abidiff - compare ABIs of ELF files
    abidiff compares the Application Binary
    Interfaces (ABI) of two shared libraries
    in ELF format. It emits a meaningful
    repor...
    Run abidiff
  • 2
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - bibliography conversion
    utilities ...
    Run copac2xml
  • 4
    copt
    copt
    copt - peephole optimizer SYSNOPIS:
    copt file.. DESCRIPTION: copt is a
    general-purpose peephole optimizer. It
    reads code from its standard input and
    writes an ...
    Run copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - gather title
    declarations from Stx documents ...
    Run gather_stx_titles
  • 6
    gatling-bench
    gatling-bench
    bench - http benchmark ...
    Run gatling-bench
  • More »

Ad