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

Working around svndumpfilter lack of wildcards

From: Loïc Joly <loic.actarus.joly_at_wanadoo.fr>
Date: 2005-02-03 21:57:29 CET

Hello everybody,

I'm trying to work around the lack of wildcars in subversion. Here is
what I try to do :

I list all the directories to remove through a svn ls into a file.
Using awk, I put the file into what looks to me like a correct state,
for instance:
"path1" "Path 2 with spaces" "path3"

Then I try to call svndumpfilter exclude `cat myfile`, but I get the
following output :

> Excluding prefixes:
> '/"path1"'
> '/"Path'
> '/2'
> '/with'
> '/spaces"'
> '/"path3"'

which is definitely not what I expected.
If I write directly: svndumpfilter exclude "path1" "Path 2 with spaces"
"path3", I got the expected result :

> Excluding prefixes:
> '/path1'
> '/Path 2 with spaces'
> '/path3'

Does anyone have some idea what I might do to solve this problem ? I
envisionned using xargs, but, even discarding the longer execution time
required, since the output of svndumpfilter cannot be the input of
another svndumpfilter, this cannot solve the problem.

Best regards,

-- 
Loïc
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 3 22:04:52 2005

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.