Since the hook script runs on the server, you should ask for help on the
Subversion users list. TSVN is only a client.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2669321
To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].
Since the hook script runs on the server, you should ask for help on the
Subversion users list. TSVN is only a client.
Works just fine for me here.
Do you start your bat script as
cmd.exe /c path/to/batfile
?
If not, try it this way. You can't really execute a bat file directly,
so you have to specify the cmd.exe here.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2669349
Works just fine for me here.
Do you start your bat script as
cmd.exe /c path/to/batfile
?
If not, try it this way. You can't really execute a bat file directly,
so you have to specify the cmd.exe here.
Not sure. To check whether the script really runs, you'd have to make
the script do something you can check, for example create a dummy test
file or show a dialog or something like that.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2669359
Not sure. To check whether the script really runs, you'd have to make
the script do something you can check, for example create a dummy test
file or show a dialog or something like that.
Did you put the path to the script in quotes?
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2669523
Again, those errors only occur when the only thing I commit is a folder
delete. If I tried to commit a file delete, my script works just fine.
I am not sure I want to start a new thread for that, but would it help
if the action log (logfile.txt, accessible from tsvn settings "saved
data") showed the name of any client hook that was run?
Christophe
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2669872
Thanks,
Christophe
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2672160
> Again, those errors only occur when the only thing I commit is a folder
> delete. If I tried to commit a file delete, my script works just fine.
Pure guess, but I wonder if the current dir is being set to the
deleted folder or something like that?
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2672251
Since I can't reproduce this, I can't really fix it.
Can you give an exact recipe on how to reproduce this? Because I tried
folder deletions and the script worked just fine for me.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2672402
Can you give an exact recipe on how to reproduce this? Because I tried
folder deletions and the script worked just fine for me.
Thanks for the script. But I still can't reproduce the problem. The
script is called properly and exits with code 0 on my test setup.
I'm using the latest nightly build, but I can't see a big difference
between the hook script code on trunk and on 1.6.x.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2673040
Thanks,
Christophe
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2674477
If you want to try a nightly build, I've committed a change which will
return the error from the OS in case there's a problem when running the
script itself.
(r20347)
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2676234