[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: Maddes <maddes_svnlists_at_arcor.de>
Date: 2007-09-13 00:18:09 CEST

No, don't create a share for the folder (that's Windows network stuff).
Please remove them again.

In the folder's properties go to the tab called "Security".
There you can set the folder permissions. Remember to note down its
current permissions (tip: screenshots).
Test with giving full permissions to System, Everyone or directly the
user who runs the service.

Also make sure that the service was correctly registered (have a look at
the highly recommended SVN book at http://svnbook.red-bean.com/ )


On 12.09.2007 16:54, AlarmChang wrote:
> 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://
>>> 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

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 13 00:15:00 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.