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

How many targets do propget and propset accept?

From: Mo DeJong <mdejong_at_cygnus.com>
Date: 2001-03-16 14:23:26 CET

Hi all.

The documentation and TODO file are a little fuzzy
when it comes to the number of targets that
propget and propset accept and if an implicit
"." is assumed.

For example:

% svn help propget
propget (pget, pg): Get the value of property PROPNAME on files and
directories.
usage: propget PROPNAME [TARGETS]

This leads me to believe that if no TARGETS were
passed, the current dir "." would be assumed.

% svn propget someprop

Is that correct?

Now for the more tricky one:

% svn help propset
propset (pset, ps): Set property PROPNAME to PROPVAL on the named files
and directories.
usage: propset PROPNAME [PROPVAL | --valfile VALFILE] [TARGET1 [TARGET2] ...]

Note to [TARGET1 [TARGET2] ...] in the usage text.
Does this mean that an implicit "." directory should
not be assumed for the propset command and that an
error should be generated if no targets are found?
If so, why does this use differ from the use of propget?
Should the usage text for propset be changed
to [TARGETS] so that it matches propget?

thanks
Mo DeJong
Red Hat Inc
Received on Sat Oct 21 14:36:26 2006

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.