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

Re: can't get post-commit.bat to execute in win32

From: AlarmChang <alarmzb_at_yahoo.com.tw>
Date: 2007-09-09 16:22:46 CEST

Dear all:

    I just have same problem.
    my project repors is
          C:\repos\Summary
    I put post-commit.bat into C:\repos\Summary\hooks
    After I commit, svn just never execute post-commit.bat~~~
    How to solve this problem, ~~ help I have spend many days on it Orz...
    Any body help me~~~ >"<

Have a good day.
Alarmchang.

Tetsuto Teddy Nishiyama wrote:
>
> Ryan,
>
> Sorry for the late response. Thanks, yes, I found that
> I needed to specify the path. However, I found that
> unlike what the document says for UNIX machines, it seems
> that in Windows, the environments (such as PATH) are
> still defined and usable. So, my problem was that the
> script was executing in a different "current directory"
> than what I had thought.
>
> Teddy
>
> Ryan Schmidt wrote:
>
>> On Apr 17, 2006, at 07:53, Tetsuto Teddy Nishiyama wrote:
>>
>>> POST-COMMIT
>>> file c:\svnrepo\test\hooks\post-commit.bat
>>>
>>> content: (just one line)
>>>
>>> echo running post-commit.bat >> test.txt
>>>
>>> should create a file and add "running post-commit.bat" to it.
>>
>>
>> Try specifying the complete path to test.txt. On Unix-like systems this
>> is required; I'm not sure about Windows.
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/can%27t-get-post-commit.bat-to-execute-in-win32-tf1460221.html#a12579355
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 9 16:19:38 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.