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

Re: Removing revision properties asks for commit message and doesn't display hook error message

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 27 Jun 2008 18:30:38 +0200

J J wrote:
> My repository has a pre-revprop-change hook in place that prevents all
> modifications to revision properties. It works fine (i.e. prevents
> the action and displays the error message) when I try to edit or add
> revision properties via TortoiseSVN. However when I try to remove a
> property it asks me for a commit message (which should be required)
> and then just refreshes the Properties window without any change. No
> error message is displayed.
>
> Is this a known issue?

I can't reproduce this here. If I set the pre-revprop-change hook script
to return -1 (indicating an error), I get a nice messagebox showing me
that the removal of the revision property failed and the error message
piped to stderr by the script.

Do you have more information about your setup/script/versions? And I
assume you used the log dialog, right-click, "Show revision properties"
for this?

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-06-27 18:30:56 CEST

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

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