Coolbreeze
Coolbreeze

Reputation: 947

Taking a complete dump of CVS repository

I would like to take a dump of a CVS repository alone. Please suggest me if i can use cvs2svn tool to take a dump of whole CVS repository with complete History.

If i'm using cvs2svn, what steps should i follow?

Assuming if i have cvs2svn installed, cvs2svn --dumpfile=PROJECT.dump PATH/TO/CVS/REPOSITORY Does this command help in taking a dump for whole repository with complete history of revision.

Note: Here i would like to take dump of CVS repo, i will be loading this repo in another CVS repos.

Kindly point me out if there is an existing topic of this. Any help would be appreciated.

Thanks.

Upvotes: 1

Views: 2226

Answers (2)

David Mic
David Mic

Reputation: 117

Yes, just for backup an entire CVS repository you can just .zip or .tar.gz your repository. It will preserve all revisions of the cvs cause as the_mandrill said, there's no database like svn. If you want to move this repository to another place then, just unzip it, delete CVSROOT directory and make cvs init on that directory. That's all!

Upvotes: 2

the_mandrill
the_mandrill

Reputation: 30842

cvs2svn is only for migrating a CVS repository into SVN. It will take a complete dump of the whole CVS repository and will combine commits for individual files that happened at a similar time and with the same commit message. These will become a single SVN revision. You won't be able to use it to move the CVS repository to another machine, only to migrate to SVN.

Upvotes: 1

Related Questions