[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: Karl Heinz Marbaise <khmarbaise_at_gmx.de>
Date: Sat, 22 Nov 2008 22:10:56 +0100

Hi,
> 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 '.' target, so recursion works.
Hm...

The following two commands will result in recursing into the
subdirectories....
> 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
subdirectories.

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
simpler...

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 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-22 22:11:12 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.