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

Re: svnadmin and svndumpfilter version inconsistency

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-11-26 01:03:00 CET

"Max Bowsher" <maxb@ukf.net> writes:

> Richard Musil wrote:
>
>> Another problem I am facing with svndumpfilter is when I try exclude
>> some projects. Even I have 'Node-path: work' with 'add' in svn-dump, I
>> cannot filter it out with exclude. Instead I am getting error:
>> svn: Invalid copy source path '/work'
>
> Would you be able to provide a simple example dumpfile and
> svndumpfilter command line to illustrate this? I'm not entirely clear
> on exactly what is breaking.

svndumpfilter doesn't handle copies from excluded paths:

$ svnadmin create repo1
$ svn mkdir file://`pwd`/repo1/foo -m ""
$ svn cp file://`pwd`/repo1/foo file://`pwd`/repo1/bar -m ""
$ svnadmin create repo2
$ svnadmin dump -q repo1 | svndumpfilter exclude foo | svnadmin load -q repo2
Excluding prefixes:
   '/foo'

Revision 0 committed as 0.
Revision 1 committed as 1.
../svn/subversion/svndumpfilter/main.c:360: (apr_err=200003)
svn: Invalid copy source path '/foo'

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 26 01:04:09 2004

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

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