[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: Stefan Kueng <tortoisesvn_at_gmail.com>
Date: Tue, 06 Jan 2009 18:09:05 +0100

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].

Received on 2009-01-06 18:09:32 CET

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