RE: post-update hook not executed after checkout?
From: Schnyder Franz <schnyderfranz_at_gmail.com>
Date: Tue, 16 Sep 2014 23:29:21 -0700 (PDT)
Hi
Just around the time you posted this we encountered the same problem because we started using the post update hook. So we waited eager for an answer. Since nothing happened I had a look into the code yesterday. I think I found the problem and have a patch which fixes it but I'm not sure that it does not introduce any side effects since a just had a quick look and do not have an overview of the hole code base and functionality.
I think the problem is that the the ProjectProperties are read/parsed at the start-up:
UINT CSVNProgressDlg::ProgressThread()
But since we have nothing local yet when doing a checkout the ProjectProperties are empty. Then after the checkout the hooks are executed but since the ProjectProperties are empty no hook is executed.
Thanks and regards
Patch:
Index: src/TortoiseProc/SVNProgressDlg.cpp
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
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.