[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-12 16:54:11 CEST

COOL, Using command line C:\Program Files\Subversion\bin\svnserve.exe -d -r
C:\repos
to execute SVN services, that just work.
But when I switch back to services, it just won't work.

About th permission on folder "C:\repos"
is that want me to share this folder("C:\repos") and set permission everyone
able to change or
just remove read only attribute?
I did them both, but not work~~~.
I feel getting closer ^___^

maddes_svnlists wrote:
>
> Log in as administrator, if service is running then stop it, start SVN
> as following via command line:
> C:\Program Files\Subversion\bin\svnserve.exe -d -r C:\repos
> Then test again.
>
> If this works, then check out the permission on C:\repos and note them
> down.
> Now give full/all permission for "Everyone" on C:\repos, use "Advanced"
> to replace the permissions also in its childrens (=subfolders).
> Restart the service (don't forget to close the above started daemon
> first).
> Then test again.
>
> BT service? Don't known this.
>
> Regards
> Maddes
>
> On 11.09.2007 18:25, AlarmChang wrote:
>> Which SVN version are you using?
>> SVN is 1.4.5
>> How do you access the repository? file:///? svn://?
>> I am using svn:// with TortoiseSVN 1.4.4, Build 9706
>> svn://192.168.1.200/Summary/
>> What is the correct path of your repository? "c:\svnrepo\test" or
>> "C:\repos\Summary"?
>> My current repository is C:\repos\Summary
>> is any possible I am not using Administrator to start that services.
>> I am using Windows services to launch SVN
>> C:\Program Files\Subversion\bin\svnserve.exe --service -r C:\repos
>> and my server also running BT service.
>> My O.S. is Windows XP SP2 Pro
>>
>>
>>
>>
>> maddes_svnlists wrote:
>>> Hello AC,
>>>
>>> Try the the following line as your
>>> "C:\repos\Summary\hooks\post-commit.bat":
>>> echo committed >C:\repos\Summary\log.txt
>>>
>>> If the file is created then the post-commit is working.
>>> When doing several tests please take note of the creation timestamp.
>>>
>>> This works for me under Win XP SP2 via file and svn access.
>>>
>>> Which SVN version are you using?
>>> How do you access the repository? file:///? svn://?
>>> What is the correct path of your repository? "c:\svnrepo\test" or
>>> "C:\repos\Summary"?
>>>
>>> Regards
>>> Maddes
>>>
>>> On 09.09.2007 16:22, AlarmChang wrote:
>>>> 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
>
>
>

-- 
View this message in context: http://www.nabble.com/can%27t-get-post-commit.bat-to-execute-in-win32-tf1460221.html#a12637326
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 Wed Sep 12 16:50:53 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.