Windows SVN post-commit Error resolution error resolving case

Source: Internet
Author: User

In the SVN repository directory there is a hooks directory, the following a post-commit.cmd file, the code is submitted to the warehouse, automatically checkout to the specified directory. @echo on
SET repos=%1
SET user=%2
SET svn= "C:/Program files/visualsvn server/bin/svn.exe"
SET dir= "D:/webroot"
(Call%svn% update%dir%--username root--password root--non-interactive)Note that the backslash D:\webroot in the path is changed to a forward slash d:/webrootsvn = "C:/Program files/visualsvn server/bin/svn.exe" is the actual location of the SVN server program.


After the warehouse is created, set the SVN name address as that. Change the cost of the LAN IP, the port to 8080 or other, avoid and Apache and other application port conflicts. If you need to set Post-commit hook Automatic Update code, do not check HTTPS, try to check, due to certificate issues, unable to perform post-commit reference: https://www.tomred.net/devops/ Svn-error-resolving-case.html

Windows SVN post-commit Error resolution error resolving case

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.