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

Re: Possible Post-update issue?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 08 Aug 2014 19:22:35 +0200

On 08.08.2014 05:55, Jeremy wrote:
> I have a post update hook set up in order to get the list of files that
> have been updated in a given update. If I perform the update on a
> folder, such as the root folder of which my hook is configured, the hook
> only recieves the path to the folder, and not a list containing the
> specific files that have been updated under that folder. This seems
> wrong. I would imagine the post-update log should ideally contain the
> explicit list of items that are updated, otherwise the pathsfile loses a
> big chunk of its usefulness of being able to tell via this post update
> hook which specific files have been updated, similar to how the
> individual 'dirty' files are provided to the precommit hook.
> Is this a bug?

No, that's by design.
The docs clearly state that the params passed to the hook script are:
and PATH is:
A path to a temporary file which contains all the paths for which the
operation was started.

again: "for which the operation was started".

If you really need those paths, maybe you can parse the action log file
located in %localappdata%\TortoiseSVN\logfile.txt


   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 2014-08-08 19:22:36 CEST

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