man cvs2svn (Commandes) - convert a cvs repository into a subversion repository
NAME
cvs2svn - convert a cvs repository into a subversion repository
SYNOPSIS
cvs2svn
[OPTION]... -s svn-repos-path cvs-repos-path
cvs2svn
[OPTION]... --dump-only cvs-repos-path
DESCRIPTION
Create a new Subversion repository based on the version history stored in a CVS repository. Each CVS commit will be mirrored in the Subversion repository, including such information as date of commit and id of the committer.
- --help, -h
- Print out usage message and exit with success.
- --version
- Print the version number.
- -q
- Quiet, print less information while running.
- -v
- Verbose, print more information while running.
- -s=path
- Load CVS repository into the Subversion repository located at PATH. If there is no Subversion repository at path, create a new one.
- -p start[:end]
- Start the program at pass start and stop it at pass stop, both may range from 1 (the default) to 8. For this to work the earlier passes must have been completed before on the same CVS repository, and the generated data files must be in the current directory. Also, stop can be omitted, in this case only the pass specified in start will be executed.
- --existing-svnrepos
- Load into existing SVN repository, instead of creating one. Please note that you must own the repository, or at least be in the group which owns it, and have group writeable files/directories.
- --dump-only
- Just produce a dumpfile, don't commit to a repos.
- --dumpfile=path
- Set the path and optionaly name of the dumpfile. The default is cvs2svn-dump in the current directory.
- --tmpdir=path
- Set the path to use for temporary data. Default is the current directory.
- --profile
- Profile with 'hotshot' (into file cvs2svn.hotshot).
- --dry-run
- Do not create a repository or a dumpfile; just print the details of what cvs2svn would do if it were really converting your repository.
- --use-cvs
- Use CVS instead of RCS 'co' to extract data (only use this if having problems with RCS, as CVS is much slower).
- --svnadmin=path
- Path to the the svnadmin program.
- --trunk-only
- Convert only trunk commits, not tags nor branches.
- --trunk=path
- Put the trunk (main branch) into the subdirectory path of the Subversion repository (default is trunk).
- --branches=path
- Put branch copies under the subdirectory path of the Subversion repository (default is branches).
- --tags=path
- Put tag copies under the subdirectory path of the Subversion repository (default is tags).
- --no-prune
- When all files are deleted from a directory in the Subversion repository, don't delete the empty directory (the default is to delete any empty directories.
- --encoding=encoding
- Set encoding of log messages in CVS repos (default is ascii).
- --force-branch=name
- Force name to be a branch.
- --force-tag=name
- Force name to be a tag.
- --exclude=regexp
- Exclude branches and tags matching regexp.
- --symbol-transform=P:S
- Transform symbol names from P to S where P and S
use Python regexp and reference syntax respectively. You may specify any
number of these options; they will be applied left to right in the order
given on the command line.
This option can be useful if you're converting a repository in which the developer used directory-wide symbol names like 1_0, 1_1 and 2_1 as a kludgy form of release tagging (the C-x v s command in Emacs VC mode encourages this practice). - --username=name
- Set the default username to name when cvs2svn doesn't have a username from the CVS repository to work with. This happens when a branch or tag is created. The default name is "unknown".
- --skip-cleanup
- Prevent the deletion of intermediate files.
- --bdb-txn-nosync
- Pass --bdb-txn-nosync to "svnadmin create".
- --fs-type
- Pass --fs-type=type to "svnadmin create".
- --cvs-revnums
- Record CVS revision numbers as file properties.
- --mime-types=file
- Specify an apache-style mime.types file for setting svn:mime-type . On Debian GNU/Linux systems, you can have one at /etc/mime.types by installing the mime-support package.
- --eol-from-mime-type
- Set svn:eol-style by mime type (only with --mime-types).
- --no-default-eol
- Don't set svn:eol-style by CVS defaults.
- --keywords-off
- Don't set svn:keywords on any files (cvs2svn sets svn:keywords to "author date id" on non-binary files by default).
FILES
The current directory is used as scratch space for data files of the form cvs2svn-data.* and a dumpfile named cvs2svn-dump.
AUTHORS
Main authors are:
C. Michael Pilato <cmpilato@collab.net>
Greg Stein <gstein@lyra.org>
Branko ÄŒibej <brane@xbc.nu>
Blair Zajac <blair@orcaware.com>
Max Bowsher <maxb@ukf.net>
Brian Fitzpatrick <fitz@red-bean.com>
Tobias Ringström <tobias@ringstrom.mine.nu>
Karl Fogel <kfogel@collab.net>
Erik Hülsmann <e.huelsmann@gmx.net>
David Summers <david@summersoft.fay.ar.us>
Manpage was written for the Debian GNU/Linux system by Laszlo 'GCS' Boszormenyi <gcs@lsc.hu> (but may be used by others).