visualsvn-server

Recover svn from directory backup after server failure

浪子不回头ぞ 提交于 2019-12-19 08:58:07
问题 The machine hosting our svn server failed. We were able to recover the C:\Repositories\ directory. How do we migrate this to a new host? 回答1: Just install svn as normal on the new server, copy the Repositories directory to the new server, and point svn at the directorys containing your repositorys. 来源: https://stackoverflow.com/questions/610652/recover-svn-from-directory-backup-after-server-failure

VisualSVN Server 3.2 - Unexpected HTTP Status 405

☆樱花仙子☆ 提交于 2019-12-18 16:30:50
问题 I installed VisualSVN Server on my machine for source control and when I try to access it via the Repo Browser I get the error: Unexpected HTTP Status 405 'Method Not Allowed' on '/!/%23WEB/view/head/ProjectA' Additional errors: PROPFIND request on '/!/%23WEB/view/head/ProjectA' failed: 405 Method Not Allowed. Accessing it via a browser works just fine. I installed many times VisualSVN Server and did not have this issue. Any ideas what could be the problem here? 回答1: I think you are trying to

Migrating Visual SVN Server from one Windows install to another

自作多情 提交于 2019-12-18 10:42:45
问题 I have Visual SVN Server on my Vista laptop. The repository resides on the second hard drive. I am doing a clean install of Windows 7 in the next few days. How do I configure or install Visual SVN Server again and keep the users, repositories, and settings intact from the previous installation? Thanks. 回答1: You can simply copy the folder containing the repositories (e.g. c:\repositories ) to the new machine. That folder contains all the users (in the file htpasswd ) and the access rights (

Import Dumped SVN Repo into Visual SVN

佐手、 提交于 2019-12-18 04:12:45
问题 I have dumped my repository on my old computer to a file with the command. svnadmin dump C:\myrepo/ > mydumpfile Now I decided to use Visual SVN on my new computer as opposed to just a baseline subversion. How do I import my repository into VisualSVN? 回答1: Figured it out now that Andrew Clark pointed out there is a "All Tasks" Repository -> All Tasks -> Open Command Prompt svnadmin create repository-name svnadmin load repository-name < repository-name.dmp 回答2: try copying your repository to

How to require commit messages in VisualSVN server?

笑着哭i 提交于 2019-12-17 17:25:16
问题 We've got VisualSVN Server set up as our Subversion server on Windows, and we use Ankhsvn + TortoiseSVN as clients on our workstations. How can you configure the server to require commit messages to be non-empty? 回答1: VisualSVN Server 3.9 provides the VisualSVNServerHooks.exe check-logmessage pre-commit hook that helps you reject commits with empty or short log messages. See the article KB140: Validating commit log messages in VisualSVN Server for instructions. Besides the built-in

visualsvn error while loading existing repository

可紊 提交于 2019-12-13 08:46:07
问题 On a windows 2008 server, a svn repository has been created using tortoisesvn from a remote Windows 7 machine. We would like to load the repository into VisualSVN, ref https://www.visualsvn.com/support/topic/00010/. After setting the file location and the new repository location, and clicking the import button, there is an error similar to the following message (written from memory). error: Expected fs format between '1' and '4'; found format '6' What should be done to resolve this error? I

How to list a specific directories in the SVN pre-commit Hook

六月ゝ 毕业季﹏ 提交于 2019-12-12 17:33:09
问题 I want to list specific directories in the SVN pre-commit Hook when I use svn list [repor_path] command I got this result : svn list http://SB-LAP163W/svn/TEST/RC | findstr 13.10 13.10.1/ 13.10.2/ 13.10.3/ that's what I'm looking but when I use the same command doesn't work in the pre-commit hook how can I deal with it using svnlook command? I tried SVNLOOK dirs-changed -t TXN-NAME REPOS-PATH it will give me the changed path PC/13.10/main/dto/ and in my case, I want to list the folders under

Tortoise won't connect to subversion server

此生再无相见时 提交于 2019-12-12 10:59:01
问题 I'm trying to setup my home server with a Subversion repo on it (after some changes). I uninstalled-reinstalled VisualSVN Server on the Windows Server 2003 server box and the address (i.e. URL) to the repo is https://server.network.local/svn/ . I can browse via IE to that address, and get the repository list (I do have to click past the certificate error though), but when I point tortoise to it as well, I get OPTIONS of 'https://server.network.local/svn': Could not resolve hostname 'server

AnkhSVN Commits Are Very Slow

孤街醉人 提交于 2019-12-12 10:01:35
问题 Recently, I had to move my SVN repositories to a different server, but I am experiencing some performance problems since the move. I am using Visual Studio 2005, AnkhSVN 2.1.7819.411 and TortoiseSVN 1.6.6 on my workstation and VisualSVN Server on the server which runs Windows Server 2008. Whenever I try to commit a file or view the file history in Visual Studio it takes twenty odd seconds. I confirmed that an exception has been made for VisualSVN Server on the server's firewall, but when I

VisualSVN Server: post-commit hook failed. SVN: Unable to make name for 'D:\websites\mywebsite.com\tempfile

人走茶凉 提交于 2019-12-12 09:38:41
问题 In VisualSVN Server, I am using a post-commit hook to move files from a directory in the Subversion repository to the proper directory on the file system. I am getting the error shown below. Error: post-commit hook failed (exit code 1) with output: svn: Unable to make name for 'D:\websites\mywebsite.com\tempfile' I am using TortoiseSVN to commit the files. I am able to do this just fine with other projects, I don't see a file called tempfile in the directory structure of my local copy or