visualsvn-server

SVN commit doesn't complete

前提是你 提交于 2019-12-01 09:31:20
问题 When I commit files in svn I often get the situation where after it has transmitted all the files svn will hang and then eventually time out with the error svn: E175012: Connection timed out . This seems to happen when I am uploading more than say 20 files. I believe this is happening after all of the files have been transferred to the server as either new periods will have stopped being added after Transmitting file data in the console, or all of the files have been listed as sent in

Why is my post-commit hook conditional statement not working when I check to see if a particular branch was committed?

北战南征 提交于 2019-12-01 08:25:21
问题 I'm running Subvbersion through VisualSVN Server on a Windows server and have my repository set up with a trunk and three branches. The branches are dev, test and prod. I have a post commit hook that I want to run which updates a working copy after a commit is run, but I only want it to update that working copy if the commit was made in the dev branch. This is the code I have right now... @setlocal enableextensions enabledelayedexpansion @echo off SET str1=%1 IF NOT x%str1:dev=%==x%str1% (

How to use custom keywords in SVN

孤街浪徒 提交于 2019-12-01 04:17:33
I'm using a VisualSVN server and TortoiseSVN client. I have set the properties svn:keywords = Author Id Revision LastChangedDate Copyright copyright = (c) 2009 Foo Company. Then, when I try to use these properties in the header file (including the custom property Copyright), I do it like: /****************************************************************************** * $Id$ * * $Author$ * * $Revision$ * * $LastChangedDate$ * * $Copyright$ ******************************************************************************/ Every property is getting substituted right, except for the Copyright. What

Pre-build task - deleting the working copy in CruiseControl.NET

ε祈祈猫儿з 提交于 2019-12-01 03:54:39
I'm currently in the process of setting up a continuous integration environment at work. We are using VisualSVN Server and CrusieControl.NET. Occasionally a build will fail and a symptom is that there are conflicts in the CruiseControl.NET working copy. I believe this is due to the way I've setup the Visual Studio solutions. Hopefully the more projects we run in this environment the better our understanding of how to set them up will be so I'm not questioning why the conflicts happen at this stage. To fix the builds I delete the working copy and force a new build - this works every time

Pre-build task - deleting the working copy in CruiseControl.NET

不羁岁月 提交于 2019-12-01 00:37:35
问题 I'm currently in the process of setting up a continuous integration environment at work. We are using VisualSVN Server and CrusieControl.NET. Occasionally a build will fail and a symptom is that there are conflicts in the CruiseControl.NET working copy. I believe this is due to the way I've setup the Visual Studio solutions. Hopefully the more projects we run in this environment the better our understanding of how to set them up will be so I'm not questioning why the conflicts happen at this

how to access subversion server remotely

蹲街弑〆低调 提交于 2019-11-30 23:38:12
I just installed VisualSVN server yesterday at my home computer and I can access my repositories ok at localhost but when I try to access it remotely, it won't connect. Am I supposed to configure something else or is it not possible? I'm using https://servername/svn as the URL in my browser and the home computer is behind a router. This is only for personal use. Thanks Are you sure that you have working name resolution for servername when not at home? For remote access to work you will at least require: Public IP number of your server, any RFC1918 numbers such as 192.168.X.X won't be

how to access subversion server remotely

我的未来我决定 提交于 2019-11-30 18:05:53
问题 I just installed VisualSVN server yesterday at my home computer and I can access my repositories ok at localhost but when I try to access it remotely, it won't connect. Am I supposed to configure something else or is it not possible? I'm using https://servername/svn as the URL in my browser and the home computer is behind a router. This is only for personal use. Thanks 回答1: Are you sure that you have working name resolution for servername when not at home? For remote access to work you will

VisualSVN Server 3.2 - Unexpected HTTP Status 405

Deadly 提交于 2019-11-30 13:59: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? I think you are trying to access repo trough Tortoise using web browser URL. This thing works fine in browser, but will return 405 in

Post-Commit Hook to trigger automatic Jenkins Build

假装没事ソ 提交于 2019-11-30 03:56:16
I know that there are many similar postings, but I have not found a solution, and the advice and solutions presented in the other posts don't quite jive with what I'm seeing. The scenario is pretty darn simple: I have a project in Eclipse, and when I check-in changes from that project to our Subversion server (i.e., VisualSVN Server 2.5.3), I want our Jenkins continuous integration server (i.e., Jenkins 1.546) to pick up this change and kick off a new build. I do not want to poll from Jenkins. I've been mostly following the steps in this article . Here's my post-commit hook script: repos =

VisualSVN Server Repository Backup/Restore

吃可爱长大的小学妹 提交于 2019-11-29 18:48:07
问题 I have a Windows Server 2008 with VisualSVN Server hosting a repository. On the client computers I have TortoiseSVN client. How can I create a backup of my repository that is hosted on the server and then restore it? 回答1: From http://www.visualsvn.com/support/topic/00012/ : You can backup your repositories using svnadmin hotcopy Subversion command. For further details please refer to the Subversion documentation. Please note that all other VisualSVN Server related data (such as user rights