07-02-2008
My impression is that it may be possible with a four-step migration (but to be frank I am not too sure about its viability due to my limited exposure to branches):
1. Migrate the entire CVS repository to a temporary SVN repo (you know how to do it better than I do)
2. Get a snapshot of the entire repository (using "svnadmin dump")
3. Because in SVN a branch is just a sub-tree of the repository, you can filter the sub-tree out of the repo using svndumpfilter, to produce a snapshot dump that covers that branch you want only.
4. Finally, load the filtered snapshot to the real SVN repo (of course, create a temporary repo to test it first!) using svnadmin load.
You can find more about svndumpfilter here (and also svnadmin):
Repository Maintenance
Good luck!
10 More Discussions You Might Find Interesting
1. Solaris
dears
does any one know how can i take backup for reposirory in cvs ?? (9 Replies)
Discussion started by: murad.jaber
9 Replies
2. Shell Programming and Scripting
Hi everyone..
Anybody having idea to get the latest file from CVS repository through schell scripts.
Thanks in advance.
Regards
shahid Bakshi (4 Replies)
Discussion started by: shahidbakshi
4 Replies
3. Programming
I have a coding project that I'm working on, and I'm tracking revisions using CVS. I'm working on a branch (branch1) at version 1.1.2.1.
Anyway, I created a new C file in the directory for the project, but I can't commit it. The tutorial I read on CVS said that version numbers will be assigned... (6 Replies)
Discussion started by: Ultrix
6 Replies
4. Shell Programming and Scripting
I need help with a bash script.
We have a directory of files which need to be renamed and moved to another directory based on filename information in a cvs file.
The contents of the cvs file are as follows:
A102345,abc123
A102347,dfg475
Where dfg475 is the basename without extension
Our... (8 Replies)
Discussion started by: Lloyd Boyette
8 Replies
5. Solaris
Hi,
I am new to SVN configuration on Solaris 10.I have installed SVN client version 1.7.
bash-3.00# ./svn --version
svn, version 1.7.4 (r1295709)
compiled Mar 2 2012, 12:59:36
Here my requirement is how to integrate svn client to One of the SVN server repository.
My repository... (0 Replies)
Discussion started by: muraliinfy04
0 Replies
6. UNIX for Advanced & Expert Users
Hi,
We have a SVN server on which the developers upload their source code which is in the form of a .ear file or a folder.
We login to the SVN server using our credentials and then go to the directory in which the application is placed and then click on the download link to download the... (6 Replies)
Discussion started by: mohtashims
6 Replies
7. UNIX for Dummies Questions & Answers
Hello,
Some of our application team uses Microsoft Team Foundation server (TFS) reposity tool for their .NET projects , I would like to access it form Unix/Linux machine. Please let me know how can access the TFS from unix.
Thanks (0 Replies)
Discussion started by: posix
0 Replies
8. Red Hat
Hi Friends,
I configured CVS Repository in RHEL 5.3 Server. But connecting the CVS Repository get the error like.
# cvs -d:pserver:cvs@localhost:/backup/cvs/cvsrep login
Logging in to :pserver:cvs@localhost:2401/backup/cvs/cvsrep
CVS password:
cvs : connect to :2401 failed: Connection... (0 Replies)
Discussion started by: srinivas814
0 Replies
9. Web Development
Hi,
I have a svn setup with multiple code repositories. Recently the filesystem holds the repository got full and i wanted to have to move some code repositories to another filesystem. I copied some of the code repositored using the "mv" command to another filesystem and created a symlink with... (1 Reply)
Discussion started by: arumon
1 Replies
10. UNIX for Advanced & Expert Users
We have an issue where we are able to check out files from unix however not from windows. On Unix I have the cvs host set to /home/group/CVSROOT but when I try and access the folder from windows I get an exception that the server refuses connection.
On unix the CVSROOT is a filer and not the... (0 Replies)
Discussion started by: jjohnson
0 Replies
LEARN ABOUT REDHAT
svnadmin
svnadmin(1) Subversion Command Line Tool svnadmin(1)
NAME
svnadmin - Subversion repository administration tool
SYNOPSIS
svnadmin command repos-path [args]
OVERVIEW
svnadmin is a tool to perform administrative operations on a Subversion repository. A Subversion repository contains the revision history
of a directory tree. The revision history includes file changes and log messages as well as move and copy operations that were applied at
some time in the past to the tree. svnadmin operations are typically carried out by an administrator. The svn(1) tool handles operations
for normal users of the source controlled resource.
COMMANDS
create repos-path
Create a new, empty repository at repos-path. For example, a repository can be created with the command:
$ svnadmin create /var/svn
Importing a source tree into the repository created above is possible with the svn(1) command :
$ svn import file:///var/svn . new_proj
createtxn repos-path -rbase_rev
Create a new transaction based on base_rev.
dump repos-path [ -rlower-rev[:upper-rev] ] [--incremental]
Dump the contents of filesystem to stdout in a 'dumpfile' portable format, sending feedback to stderr. Dump revisions lower-rev
through upper-rev. If no revisions are given, all revision trees are dumped. If just lower-rev is given, that one revision tree is
dumped. A 'dumpfile' is used to convert between incompatible repository formats. If --incremental is passed, then the first revi-
sion dumped will be a diff against the previous revision, instead of the usual fulltext.
load repos-path
Read a 'dumpfile'-formatted stream from stdin, committing new revisions into the repository's filesystem. Send progress feedback to
stdout.
lscr repos-path path [ --copies ]
Print, one-per-line and youngest-to-eldest, the revisions in which path was modified. Use the --copies flag to allow this operation
to cross copy history while searching for revisions. (For directories, this is, for now, almost guaranteed to be uninteresting.
Also, path must exist in the HEAD of the repository.)
lstxns repos_path
Print all txn names.
recover repos_path
Run the Berkeley DB recovery procedure on a repository. WARNING: only run this when you are SURE you're the only process accessing
the repository. Requires exclusive access.
rmtxns repos-path txn-name [ ... ]
Delete the transaction(s) named txn-name.
setlog repos-path -rrev file
Set the log-message on revision rev to the contents of file. Be careful with this option. Log messages are stored as revision
properties. The history of revision properties is not saved. This command will permanently overwrite the previous log message.
SEE ALSO
svn(1)
svn r3206 22 Sept 2002 svnadmin(1)