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

svnadmin load problems

From: Belorion <belorion_at_gmail.com>
Date: 2006-02-16 23:43:12 CET

I am trying to pull out a subdir from repo A and create a whole new repo B
for it.

/path/to/repo/trunk/foo
/path/to/repo/trunk/websites

I only want the contents of trunk/websites in the new repo. Following
instructions for svndumpfilter, I do the following:

cat mydumpedfile | svndumpfilter include trunk/websites 1> filtered 2> err

I then try to load the repo in a newly created repository

svnadmin load /path/to/new/repo/ < filtered

But I just can't get it to work. I get errors like "svnadmin: File not
found: transaction '430-1', path 'trunk/websites'" which suggested to me
that it was barfing because I didn't have /trunk/website in my new repo.
So, I recreated the repo (for fresh start), added trunk/ and retried. Tried
again with fresh start and made sure trunk/websites existed in the repo.
Now I get errors saying the the db file already exists (which makes sense,
because I made a commit to the repo when I added the dirs)

Any idea how to accomplish this seemingly simple task? Thanks.

Matt
Received on Fri Feb 17 00:02:57 2006

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