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

1.9 Client side hook

From: Aria Roller <aria.roller_at_ga.com>
Date: Thu, 21 Apr 2016 08:48:23 -0700 (PDT)

I'm experiencing an issue with client side hooks that I cant explain.

I'm running a fairly simple client side hook for precommit, postcommit, preupdate and post update. These hooks simply take the params passed by the hook and print them to a text file. I've found a re-occuring issue that is not 100% of the time... the hooks appear to be passing invalid temp file names.

For example:
pre-commit hook has 4 params:
Path
Depth
Msgfile
CWD

The paths given do not always point to an actual file but it seems the hex may be bit shifted?
Path given by hook:
C:\Users\name\AppData\Local\Temp\svnCD6C.tmp
Doesnt exist however this file is created:
C:\Users\name\AppData\Local\Temp\svnCD6E.tmp

Same goes for the MsgFile... Have you seen this before? What other information can I provide?

In addition the Path file does not contain the list of files being committed. its just a blank file. The message file occasionally has the commit message but not always. Any ideas?

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-04-21 18:32:29 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.