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

[PATCH] Fix for issue #4234, svndumpfilter exclude --targets wants pathname to start with '/'

From: vijay <vijay_at_collab.net>
Date: Wed, 26 Sep 2012 03:52:57 +0530

 From the issue[1] description,

<snip>

When svndumpfilter exclude command accepts path prefixes starting with either /<pathname>
or just <pathname>, I expect it to work the same way when we use with --targets option.

For Eg :

Both of the following command works fine when we directly provide the
path prefix

$ cat sample.dump | svndumpfilter exclude /tags > filtered4.dump

$ cat sample.dump | svndumpfilter exclude tags > filtered4.dump

However, when we use targets, it seems to be a must to prefix all the path prefixed with
a / which is not mentioned anywhere in the documentation as well.

</snip>

Attaching the patch and log message to fix this issue.

Thanks & Regards,
Vijayaguru

[1] http://subversion.tigris.org/issues/show_bug.cgi?id=4234

Received on 2012-09-26 00:23:36 CEST

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.