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

How can a start_commit_hook modify the list of files?

From: Hans <hschleichert_at_munich-metrology.com>
Date: Thu, 23 Aug 2012 04:38:01 -0700 (PDT)

I want to run a client-side hook that may modify versioned files, and I want these files to be added to the list of files to commit. For a test, I created a start_commit_hook that opens the file which is passed into the script as first parameter (PATH). Whatever I do to this file (add or remove lines, even delete the file), it doesn't change the list of files which the commit dialog displays.

The help file says under "Start-commit": "You might want to use this if the hook modifies a versioned file and affects the list of files that need to be committed and/or commit message." This seems to indicate it can be done...

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3000432

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-08-23 13:38:08 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.