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

Re: [Subclipse-users] Problem while changing a comment from a revision

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-08-15 02:41:43 CEST

"LIRA Olavo" <Olavo.LIRA@gemalto.com> wrote on 08/14/2006 05:47:31 PM:

> Everytime I try to change a comment from a revision I receive
> the following error:
>
> propset --revprop -r 203--force "svn:log" "Icluding TAGS in
> ".properties" of the project" https://daffy/subversion/cardrepository
> RA layer request failed
> svn: DAV request failed; it's possible that the repository's
> pre-revprop-change hook either failed or is non-existent
> Failed to execute WebDAV PROPPATCH
> svn: At least one property change failed; repository is unchanged
>
> Does anyone have an idea of what could be the problem? Thanks!

See this section of the book:

http://svnbook.red-bean.com/nightly/en/svn.reposadmin.create.html#svn.reposadmin.create.hooks

pre-revprop-change

    Because Subversion's revision properties are not versioned, making
modifications to such a property (for example, the svn:log commit message
property) will overwrite the previous value of that property forever.
Since data can be potentially lost here, Subversion supplies this hook
(and its counterpart, post-revprop-change) so that repository
administrators can keep records of changes to these items using some
external means if they so desire. As a precaution against losing
unversioned property data, Subversion clients will not be allowed to
remotely modify revision properties at all unless this hook is implemented
for your repository.

    This hook runs just before such a modification is made to the
repository. The repository passes four arguments to this hook: the path to
the repository, the revision on which the to-be-modified property exists,
the authenticated username of the person making the change, and the name
of the property itself.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Tue Aug 15 02:41:54 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.