[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Newbie: What's wrong with my attempt to restructure repository?

From: Zembower, Kevin <kzembowe_at_jhuccp.org>
Date: 2007-05-10 19:54:37 CEST

I've don't have much experience with Subversion. I'm currently only
trying to use it to track changes to configuration files under /etc/. I
originally set up my repository at /var/svnrepos/systemroot on my RHEL4
system using Subversion 1.1.4. I then imported /etc/httpd, but
accidentally put it at the root of the repository tree. I just left this
alone initially, because /etc/httpd was all I needed to track.

Now, however, I'd like to add /etc/nagios2 to the repository. If I just
add it with 'svn import nagios2 file:///var/svnrepos/systemroot' I think
that I'll permanently embed nagios2 in the files for httpd. Would this
be what would happen?

What I tried to do was ' svnadmin dump /var/svnrepos/systemroot/
>/tmp/svnrepos.dump' the whole repository (containing only httpd files
at this time), erased the repository, 'svnadmin create /var/svnrepos'
(didn't see the point of the subdirectory 'systemroot') and tried
'svnadmin load' with a new parent directory, but got this result:

www:~# svnadmin create /var/svnrepos
www:~# svnadmin load /var/svnrepos --parent-dir httpd
</tmp/svnrepos.dump
<<< Started new transaction, based on original revision 1
     * adding path : httpd/conf ...svn: File not found: transaction '1',
path 'httpd/conf'
www:~# svnadmin load /var/svnrepos/httpd </tmp/svnrepos.dump

svn: Can't open file '/var/svnrepos/httpd/format': No such file or
directory
www:~# svnadmin load --parent-dir httpd /var/svnrepos
</tmp/svnrepos.dump
<<< Started new transaction, based on original revision 1
     * adding path : httpd/conf ...svn: File not found: transaction '2',
path 'httpd/conf'
www:~#

Can anyone give me some advice on what I'm doing wrong, and how to
correct it? The repository originally holding httpd is up to revision
46, and I'd like to preserve all these changes when I restructure if
possible. If not, I can just remove all the .svn directories in
/etc/httpd and start over, I guess.

Thank you for your advice and suggestions.

-Kevin

Kevin Zembower
Internet Services Group manager
Center for Communication Programs
Bloomberg School of Public Health
Johns Hopkins University
111 Market Place, Suite 310
Baltimore, Maryland 21202
410-659-6139

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu May 10 19:54:55 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.