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

RE: problem with propset

From: <ed.wittmann_at_fiserv.com>
Date: 2005-07-26 23:43:19 CEST

Thanks for the assistance!

I got the propset stuff working (svn propset bugtraq:url
"http://servername/browse/MYKEY-%BUGID%"

however, now when I click on the link in TortoiseSVN log, the browser
never pops up. is this a tortoise (version 1.2.1) problem or did I muck up
the properties?

*********************

D:\proj>svn proplist .
Properties on '.':
  bugtraq:label
  bugtraq:url
  bugtraq:message
  bugtraq:number
  bugtraq:warnifnoissue

D:\proj>svn propget bugtraq:label
Defect #:

D:\proj>svn propget bugtraq:url
http://servername/browse/MYKEY-%BUGID%
 
D:\proj>svn propget bugtraq:message
Defect #: %BUGID%

D:\proj>svn propget bugtraq:number
true

D:\proj>svn propget bugtraq:warnifnoissue
false

Note that all properties were set recursively from the root of the
project.

-----Original Message-----
From: chris@nesser.org [mailto:chris@nesser.org]
Sent: Tuesday, July 26, 2005 10:29 AM
To: users@subversion.tigris.org
Subject: Re: problem with propset

On Tue, 2005-07-26 at 10:18 -0400, ed.wittmann@fiserv.com wrote:
<snip>
> D:\proj>svn propset bugtraq:label --revprop -r HEAD "Defect#"
> http://servername/repos/foo
> svn: DAV request failed; it's possible that the repository's
> pre-revprop-change hook either failed o r is non-existent
> svn: At least one property change failed; repository is unchanged
>
> Google, this list, and the issue tracker readme all say that this is
> because I don't have a pre-revprop-change hook, but I do, and it's
> executable. It's empty and won't do much, but it is there. I also
> tried using the template that "ships" with Subversion but no joy.
>
> Can someone point out my error?

User permissions of the file[s]? I also enabled the `post-revprop-change'
script as well, but commented out the email script so it simply returns.

Make sure your scripts (.bat I assume) are exiting with success (0).

The default pre-revprop-change that I have only allows users to set
'svn:log' properties. Everything else fails (exit 1).

Cheers,
Chris

--
Wireless Group
McMaster University
summer
10:24:00 up 4 days, 20:17, 4 users, load average: 0.00, 0.04, 0.07
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 26 23:45:52 2005

This is an archived mail posted to the Subversion Users mailing list.