You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Nathan Dauchy <nd...@hpti.com> on 2004/08/05 21:59:57 UTC

svn propset -R failure

I ran across a problem recursively setting properties, shown below.  Is 
this a known bug, new problem, or am I doing something I shouldn't?

$ ls -l
drwxr-xr-t   8 ndauchy users   216 2004-07-21 17:05 base
-rw-r--r--   1 ndauchy users  6867 2004-08-03 08:52 CHANGES
drwxr-xr-t   6 ndauchy users   192 2004-08-03 08:52 config
drwxr-xr-t   8 ndauchy users   240 2004-08-05 14:25 extras
-rw-r--r--   1 ndauchy users  6356 2004-08-05 14:21 Makefile
-rw-r--r--   1 ndauchy users  6356 2004-08-03 17:16 Makefile.save
drwxr-xr-t   7 ndauchy users   192 2004-07-21 17:04 site
drwxr-xr-t   5 ndauchy users   184 2004-07-21 17:02 test
-rw-r--r--   1 ndauchy users  2355 2004-07-23 14:26 VERSION

$ svn propset svn:keywords Id * -R
property 'svn:keywords' set (recursively) on 'base'
property 'svn:keywords' set (recursively) on 'CHANGES'
property 'svn:keywords' set (recursively) on 'config'
property 'svn:keywords' set (recursively) on 'extras'
property 'svn:keywords' set (recursively) on 'Makefile'
svn: 'Makefile.save' is not under version control

After this, the property is set on only half of the files in the 
repository.  Now, I can work around this by running the command on each 
of the missing files and directories, but if there were multiple files 
in my working copy not under version control that would be a major pain.

I did try the --force option, but that had the same outcome.

I am using svn+ssh.

The client is running on SuSE 9.1:
svn, version 1.0.6 (dev build)
    compiled Jul  6 2004, 15:02:48

The server is running on FC 2:
svn, version 1.0.4 (r9844)
    compiled Jun  7 2004, 11:41:25

Thanks for the help, and please let me know if I can provide any more 
information.

-Nathan


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn propset -R failure

Posted by Andy Berdan <be...@gmail.com>.
> I ran across a problem recursively setting properties, shown below.  Is
> this a known bug, new problem, or am I doing something I shouldn't?

Not a bug.

* is replaced by your shell by all files that match, whether or not
they're in svn.

There's two ways to do what you want to do... do a recursive propset
from your current directory:
# svn propset svn:keywords Id . -R

or, use command substitution (bash example):
# svn propset svn:keywords Id `svn ls` -R

The former is more efficient, but the latter is more interesting.  :)

Andy.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org