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.
% svn help propget
propget (pget, pg): Get the value of property PROPNAME on files and
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
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?
Red Hat Inc
Received on Sat Oct 21 14:36:26 2006