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

Re: <Is it a bug?> Re: User Hook Scripts

From: golan davidovits <golandav_at_yahoo.com>
Date: Thu, 8 Jan 2009 03:58:24 -0800 (PST)

Thanks for the comment Stefan

The shift to using Pre-Commit hook creates a different problem.
Now when the hook removes a property i get an error that the working copy is not updated and the commit fails.

"File or Directory "." is out of date, try updating"
I tried to run update after the propdel but it didn't help.

Please let me know if you have any suggestion.


----- Original Message ----
From: Stefan Kueng <tortoisesvn_at_gmail.com>
To: users_at_tortoisesvn.tigris.org
Sent: Tuesday, January 6, 2009 7:09:05 PM
Subject: Re: <Is it a bug?> Re: User Hook Scripts

golan davidovits wrote:
> Hi,
> I'm resending because i didn't get any reply and it's very important
> to me to resolve this issue. The mentioned problem is that firing
> "Start Commit" user hook from check for modifications-> commit
> populates the MESSAGEFILE list with all changed paths, but running it
> directly from right click->commit populates MESSAGEFILE file with
> only the CWD path (even if it didn't change).

If you need to have all paths that get committed, you have to do that in
a pre-commit hook, not in the start-commit hook.
The start-commit hook script is invoked before the commit dialog has
gathered all information and therefore only gets the paths which are
selected for the commit non-recursively.


  oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\    http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-01-08 12:58:36 CET

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