On Fri, May 16, 2003 at 11:49:28AM +0200, Branko ??ibej wrote:
> Michael Wood wrote:
>
> >On Thu, May 15, 2003 at 09:14:24PM +0200, Robert wrote:
> >
> >
> >>Ok.
> >>I wrote:
> >>#! /usr/bin/perl
> >>for($count = 1; $count <= 40; $count++)
> >>{
> >> system ("svn propset --revprop -r $count svn:author 'welz'
> >>http://192.168.1.10:65535/svn/repos/root");
> >>
> >>
> > ^^^^^
> >
> >
> >>}
> >>It gave me:
> >>property `svn:author' set on repository revision '1'
> >>...
> >>property `svn:author' set on repository revision '40'
> >>
> >>but svn log http://localhost:65535/svn/repos/
> >>
> >>
> > ^^^^^
> >
> >You set the prop on .../svn/repos/root, but you're looking for it on
> >.../svn/repos/
> >
> >I think the BUG here is that svn propset --revprop returns success when
> >the item mentioned does not exist. (I have not tested this. It just
> >seems likely based on the messages in this thread.)
> >
> He's setting revision properties, not file properties. You can't change
> file properties with --revprop.
OK my mistake, but:
$ rm -rf repos
$ svnadmin create repos
$ cp /bin/true repos/hooks/pre-revprop-change
$ svn mkdir -m "" file://`pwd`/repos/test
Committed revision 1.
$ svn ps svn:author 'blah' --revprop -r1 file://`pwd`/repos/non-existent
property `svn:author' set on repository revision '1'
Shouldn't this at least warn? There is no
file://`pwd`/repos/non-existent.
--
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 16 13:19:31 2003