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

Re: Possibly a bug in SVN 1.5.X

From: David Glasser <glasser_at_davidglasser.net>
Date: Sat, 22 Nov 2008 16:44:49 -0800


There is nothing in the svn UI, or in any standard Unix tool, where "specify
a filename and a recursive flag" means to search for all files with that
name and act on them. If you want that, "find" works.


On Nov 22, 2008 1:11 PM, "Karl Heinz Marbaise" <khmarbaise_at_gmx.de> wrote:


> > I think the definition of -R is that it will "recurse into >
subdirectories of the *target*".
Based on this explanation it makes sense...

> In your case, the target was > 'porn.xml',
It was "pom.xml" instead ;-)

> which is not a recursable target. Running 'svn revert -R' > or 'svn ls
-R' is operating on the ...

The following two commands will result in recursing into the
> svn propget "svn:keywords" -R
> svn proplist -R
so these two commands are working with the implicit target '.' as well....

on the other side:
>svn ps "svn:ignore" "test" . -R
will do an recursive setting of the (directory-)property in all

So in other words (svn ps "property" "value" filename -R) is desired not to
go throught the subdirectories, but I would suggest to change the svn
propset command to my suggested one...cause it would make thinks more

So my suggestion is the following:

svn ps "property" "value" pom.xml (Only in current directory)
svn ps "property" "value" pom.xml -R (in all subdirectories)
svn ps "property" "value" *.xml (only in current directory)
svn ps "property" "value" *.xml -R (in all subdirectories)

The supplemental suggestion will to change the help messages and the SVN
Book as well to make that point more clear...

Kind regards Karl Heinz Marbaise -- SoftwareEntwicklung Beratung Schulung
 Tel.: +49 (0) 2405 /...

To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org For additional
commands, e-mail: dev-h...
Received on 2008-11-23 01:45:07 CET

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.