visualsvn-server

Make an existing folder into a repository

允我心安 提交于 2019-12-12 07:43:55
问题 I've decided that modifying files directly in notepad is probably dangerous and it was about time to have some proper source control (I am quite new to source control). I have installed VisualSVN server on my server and TortoiseSVN on my client machine. I can create new folders fine, check them our etc. However, on my server, I have an existing folder structure in place for IIS and there are links based on this location everywhere. How can I make the entire folder work with SVN without moving

SVN Lock Hook Error: expected opaquelocktoken

二次信任 提交于 2019-12-12 06:07:06
问题 I am aware that this question was already asked answered on SO, but that answer was simply to remove the hook. I need to fix the hook instead of removing it. We are running VisualSVN Server on Windows 2012 with Win 7 clients. I have been tasked with disabling the stealing of locks (I know this is not best practice use of SVN, but the bosses want it). Here is the .bat file I currently have in place for our pre-lock hook (found on the web): @ECHO OFF :: Set all parameters. Even though most are

SVNAdmin Load is not working

主宰稳场 提交于 2019-12-11 04:12:31
问题 So I created dump files for my old repositories. Now moving these to new server. When I use VisualSVN admin interface to import using Import Existing Repository --> Load Repository from a dump file Then it is fine. I am able to access new repository on new server. But if I use command line svnadmin create test svnadmin load test < test.dump Then I am not able to access this test repository from Tortoise SVN ( it won't show up) 回答1: Use the Import-SvnRepository PowerShell cmdlet to import the

How to setup VisualSVN Setup on Windows Azure Instance

做~自己de王妃 提交于 2019-12-11 04:08:13
问题 I have used RDP to get into my windows azure instance. I downloaded VisualSVN Server for Windows and have installed it and created a repository. My problem is setting up my domain or ip that I am suppose to connect to to reach the repository. I used my cloudapp.net url, I also binded my IP into the settings of the VisualSVN IP addresses. I am using port 443, and using secure connection (https://). Ive tried connecting to the following address to reach my repository: https:// * encryptcode *

How to call a python script in visualsvn server precommit hook running on windows

独自空忆成欢 提交于 2019-12-11 00:42:43
问题 I Implement a python script for the pre-commit hook to detect the commit message, author, changed path then throw exception or error in specifics cases. I want to set this script pre-commit.py in the VisualSVN server Pre-commit Hook using this command in the Hooks C:\Users\momo\Desktop\pre-commit.py %1 %2 When I want to commit I got this error Access Denied looks like pre-commit hook doesn't recognize my syntax 回答1: Python scripts are not considered as executable files on Windows. You should

How to restrict in VisualSVN Server access only to some specific public IPs

旧城冷巷雨未停 提交于 2019-12-10 23:42:25
问题 I have connected an USB network adapter on the Visual SVN server and configured a public ip on it. Now, the repositories are accessible though an https link over the Internet to everyone who knows about the link. I want to allow the SVN access only from our US office (I have the public ip of US office). People from any other location or public ip should not be able to access the SVN. The VisualSVN server is setup on a Windows 10 machine. IS this possible on Windows? If yes, can someone please

SVN Lock error: Lock token URI has bad scheme

倾然丶 夕夏残阳落幕 提交于 2019-12-10 20:45:45
问题 I recently tried to lock a file in my SVN checkout, and I got the following error: svn lock -m "a comment" File1.pas svn: warning: W160037: Lock token URI ' C:\Program Files (x86)\VisualSVN Server>exit 0 ' has bad scheme; expected 'opaquelocktoken' Someone else got the error first (Windows 7), then I replicated it on my test repo (Windows 8) with a fresh checkout on a different file. I originally used Tortoise v1.8.9, and then replicated it using the command line utility v1.8.11. The

Change svn user name during commit

余生长醉 提交于 2019-12-10 17:57:13
问题 We have corporate logins like QWE098765 and using them to acess to SVN repository. I want map this names to emails, so in SVN history they will be human readable. Currently I use post-commit hook which change svn:author revision property, but... But here is small gap between commit and change name, and sometime applications which track SVN changes (CommitMonitor, Jenkins) catch QWE098765 name instead of emails. This is not very big problem, but annoying. May be here is other way to map names?

svn command line error “Server certificate verification failed: issuer is not trusted” how can i resolve this error?

别等时光非礼了梦想. 提交于 2019-12-10 16:10:02
问题 I have CCNET build server setup. I get above error when i define <sourcecontrol type="svn"> <executable>c:\Program Files\VisualSVN Server\bin\svn.exe</executable> <trunkUrl>https://test-server.local/svn/test/Websites/test.com/trunk</trunkUrl> <workingDirectory>D:\Program Files\mypath</workingDirectory> <username>user</username> <password>password</password> </sourcecontrol> in my ccnet.config I get Server certificate verification failed: issuer is not trusted test-server.local" how can I

Check for modification failure in content Integration using VisualSVN Server and Cruisecontrol.net

╄→гoц情女王★ 提交于 2019-12-10 15:29:09
问题 I am using CruiseControl.net for continous integration. I've created a repository for my project using VisualSvn server (uses Windows Authentication). Both the servers are hosted in the same system (Os-Microsoft Windows Server 2003 sp2). When i force build the project using CruiseControl.net " Failed task(s): Svn: CheckForModifications " is shown as the message. When i checked the build report, it says as follows: BUILD EXCEPTION Error Message: ThoughtWorks.CruiseControl.Core