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

Re: bug? svndumpfilter / svnadmin load fail

From: <kfogel_at_collab.net>
Date: 2004-02-24 18:04:03 CET

Scott Scriven <svn-users@toykeeper.net> writes:
> I'm having some trouble with svndumpfilter and svnadmin load.
> The error I get is:
>
> * adding path : trunk/subdir ...svn: File not found: transaction '1', path 'trunk/subdir'

I think this is expected behavior.

You first produced a valid dumpfile that creates "/trunk" and then
"/trunk/subdir". You then ran it through svndumpfilter, telling
svndumpfilter to include /trunk/subdir (and by implication, to exclude
anything that doesn't match that string -- at least, that's how I
presume svndumpfilter works). Then you tried to load the new
dumpfile. It gets an error, because it tries to add /trunk/subdir
before /trunk.

?

-Karl

> And here's a script which shows how to cause the error:
> http://toykeeper.net/tmp/svnfail.sh
> content shown here:
> ----------------------------------------
> #!/bin/sh
>
> # causes svnadmin load to fail
> # tested using subversion 0.37.0-3 from debian-x86 unstable
>
> cd /tmp
> rm -rf sfoo
> mkdir sfoo
> cd sfoo
> mkdir -p in/trunk/subdir
> svnadmin create old
> svn import in file:///tmp/sfoo/old -m ...
> svnadmin create new
> svnadmin dump old | svndumpfilter include trunk/subdir | svnadmin load new
> ----------------------------------------
>
> Please Cc: all replies to me, if possible. :)
>
>
> -- Scott
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 24 19:07:52 2004

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.