visualsvn-server

Can't commit to SVN server

三世轮回 提交于 2020-01-12 18:49:37
问题 When I commit to the server this returns: The POST request returned invalid XML in the response: XML parse error at line 3: not well-formed (invalid token) (/svn/site/!svn/me) I am using VisualSVN Server 2.5.1 and the client is TortoiseSVN 1.7.1 64Bit. The server by itself is working, I can update from repository or browse. Any suggestions? 回答1: You can use Fiddler2 as a proxy, and inspect the XML request/responses. Maybe that'll give you some more to go on. It looks like TortoiseSVN doesn't

Can't commit to SVN server

核能气质少年 提交于 2020-01-12 18:47:36
问题 When I commit to the server this returns: The POST request returned invalid XML in the response: XML parse error at line 3: not well-formed (invalid token) (/svn/site/!svn/me) I am using VisualSVN Server 2.5.1 and the client is TortoiseSVN 1.7.1 64Bit. The server by itself is working, I can update from repository or browse. Any suggestions? 回答1: You can use Fiddler2 as a proxy, and inspect the XML request/responses. Maybe that'll give you some more to go on. It looks like TortoiseSVN doesn't

Synchronizing Visual SVN with IIS for web development (or to any other folder)

天涯浪子 提交于 2020-01-10 03:23:44
问题 How to get the latest version of the project file to another folder on every commit? I'm using VisualSVN server and I think we can do this on post-commit in hooks, but I don't know how. Server is on Windows. Actually I need to get the latest version of the file to \www folder of IIS7. Simply, get the latest file to another folder. 回答1: I've added following code in post-commit hook (for copying latest version files to D:\Destination ). svn export --force file:///D:/Repositories/myproject D:

cannot connect subclipse to VisualSVN on Windows 7

旧时模样 提交于 2020-01-02 23:21:50
问题 svn: connection refused by the server svn: OPTIONS request failed on '/svn/myrepo/MyProject/trunk' svn: connection refused by the server Java 32 bit 1.6.20 Windows 7 64 bit Eclipse 3.5.2 32 bit VisualSVN 2.1.3 Installed subclipse in Eclipse 3.5.2. Created repository myrepo and Project Structure MyProject. Tried to open repository location https://desktop-PC/svn/myrepo/MyProject/trunk from subclipse and got error popup Error validating location org.tigris.subversion.javahl.ClientException: svn

VisualSVN Server: taking backups using svnadmin tool

删除回忆录丶 提交于 2020-01-02 05:40:07
问题 I have installed VisualSVN Server on Windows Server 2008. I was trying to create a hotcopy backup using svnadmin tool. It seems that I don't have this tool installed: C:\>svnadmin hotcopy C:\Repositories\Develop C:\temp\svnbackup 'svnadmin' is not recognized as an internal or external command, operable program or batch file. Does VisualSVN Server include svnadmin tool? How can I get this tool? 回答1: I actually found the solution: I have these tools in this folder: C:\Program Files (x86)

Import certificate into VisualSVN Server

你。 提交于 2020-01-01 08:25:09
问题 Is it possible to import the valid certificate of the Windows Server, where VisualSVN is installed, into VisualSVN? 回答1: Read the article KB134: Configuring SSL Certificates for VisualSVN Server and don't miss the relevant Getting Started section. UPDATE: Importing certificates in pfx format implemented VisualSVN Server 2.6: https://www.visualsvn.com/server/changes/2.6/ Yes, it's possible. Please consider the following steps: Export certificate and private key to pfx format Convert

Configuring VisualSVN Server to use _svn instead of .svn

微笑、不失礼 提交于 2019-12-29 01:44:16
问题 We were having a problem with our build server not checking out modifications from source control despite recognizing that there had been changes. It was traced to the control folder (not sure what it's real name is), the existing working builds were using _svn. Clearing the working folder forced a new complete checkout and I noticed that now the control folder is .svn. It looks like originally our integration routines were checking out code using _svn but now it is using .svn. The svn.exe

Post-commit hook that performs an action only if commit affects the specific path

╄→尐↘猪︶ㄣ 提交于 2019-12-24 17:53:17
问题 In some cases it's required to perform a post-commit operation only if some condition is met. E.g. to send an e-mail only when the committed revision affects '/tags' directory. I've searched the web for such script sample to run in Windows environment and wasn't able to find any so I had to write it myself. 回答1: The post-commit.bat code: REM The command checks whether the committed revision changes any data under '/tags' "%VISUALSVN_SERVER%bin\svnlook.exe" dirs-changed %1 --revision %2 |

How to print arguments in SVN hook

落花浮王杯 提交于 2019-12-24 13:46:06
问题 I am using windows7 and VisualSVN Server. I have wrote simple SVN post-commit hook which looks like C:\Perl64\bin\perl C:\repositories\secret-project\hooks\myhook.pl %1 %2 and myhook.pl script looks like $svnlook = '"C:\Program Files\VisualSVN Server\bin\svnlook.exe"'; $repos = $ARGV[0]; $txn = $ARGV[1]; $msg = `$svnlook changed -t "$txn" "$repos"`; chomp($msg); print STDOUT $repos . " " . $txn; print STDOUT $msg; exit(0); so basically I just want for now to print changed files. Commit goes

How to control changes to tags in SVN server on Windows

自作多情 提交于 2019-12-24 05:55:02
问题 We use VisualSVN Server 2.5.6 on Windows (important!). Most of our SVN repositories have the standard structure: /trunk /branches /tags We want: allow people to create new tags forbid them to modify existing tags Don't ask... sometimes they really try to Commit a change to existing tag )) I found a really nice pre-commit hook - svnperms.py from standard hook scripts Example 2 from the configuration file is probably what I need: [example2] trunk/.* = *(add,remove,update) tags/[^/]+/ = *(add)