svn

500 Internal Server Error on Subversion Commit

Tried committing to my SVN repository today but I'm getting a Error: Commit failed (details follow): Error: Server sent unexpected return value (500 Internal Server Error) in response to Error: PUT request for '//!svn/wrk/36ffb5e7-878f-fa4e-9b5e-ce3415750884/.htaccess' on one file which is my .htaccess file. I've tried deletin...

Is there a svn or git solution that enables live preview

Hi guys! I would like to know if there is a solution (open source project or webservice) available that offers a svn or git repository together with an apache server and database. I am searching for such a solution because I would like to get the benefits of developing with a subversion system. On the other side I need a preview of the f...

How do I back up a SVN repository with rsnapshot, when the timestamps differ every time?

I want to have rsnapshot backup a local on-disk SVN repository on a Linux machine. I know I can't just back it up off the file system, so before each snapshot I am making a copy with 'svnadmin hotcopy'. However, every time I do a hotcopy, the resulting files all have a current timestamp, rather than the same timestamp as the original f...

What tools do you use to faciliate Continuous Integration (CI)?

Assuming you're doing CI, the title really says it all: What tools do you use? In our case we're a .NET development shop, and are using Enterprise Cruise Subversion NAnt However we're hitting some performance issues with Subversion and the number of Cruise build agents & pipelines we're running, so are looking at using Git in the ba...

How can I match the svnlook output in Perl?

I'm running SVN on a Windows server, and I'm using Perl scripts to implement some pre-commit hooks. I'm seeing the following error message from TortoiseSVN: Error !!ScriptError!! Can't parse line: _U path/to/files/trunk and this is the script: foreach my $line (`$svnlook changed -t "$txn" "$repos"`) { chomp($line); if ($line...

pre-commit hook in svn: could not be translated from the native locale to UTF-8

Hi everybody, I have a problem with my pre-commit hook. This hook test if a file is locked when the user commits. When a bad condition happens, it should output that the another user is locking this file or if nobody is locking, it should show "you are not locking this file message (file´s name)". The error happens when the file´s na...

Using Perl to build a SVN post-commit hook: IRC Bot to print commit Message

Hello I'm trying to build an IRC Bot which tells me in a private channel every commit-message which I want to know about. But I have trouble to get per #!/bin/bash REPOS="$1" REV="$2" # call bot with arguments reposname, revison and commit message in one string /usr/bin/perl /home/user/repo/svn_irc_bot.pl "$REPOS" "$REV" # all che...

How to vary connection string for different work locations

I am working on a C# 4.0, WPF 4.0, SQL 2008 project and I do work at home and in the office. I just setup SubVersion using Visual SVN per the recommendations found in other questions. The problem I am having is the connection string for the database is different for each location. At home I have the database on my dev system, in the off...

Is there a fast way to lock my SVN repository's trunk?

There are moments when I need to be sure that no one is committing to either a specific branch or to my trunk. Release builds and reintegration merges are an example. SVN "locking" all the files is not realistic (very long since project is huge). I also don't believe that locking prevents someone from committing new files. What would...

Commit only property changes on root of repo, not files

I have an SVN repository with uncommitted changes to files. There is also a change in the svn:externals property on the root folder. How do I commit the property changes, WITHOUT committing the changes to the files themselves? ...

how to detect modified properties using SVN log

Background: writing an automated release script to export changed files between versions from SVN and upload to remote server. The svn log command shows modified files and properties, but seems to not distinguish its verbose output between a content modification over property modifications. Am I reading this output wrong, or is there a...

Connect to SVN from Windows Mobile

I have been trying to find a framework for windows mobile and .Net Compact to connect to an SVN Repository but i havnt been able to find 1. Is there an SVN Framework out there for .NET Compact? If there isnt a framework, whats the best way to attempt to connect to an SVN Repository? At the moment im looking to get the revision history....

Prevent a file/folder from being committed (not ignore, I don't want it to be "seen" by SVN)

Basically, I want to do svn add . --force without the file being ever added into svn status. This is not ignore, this means excluding it from all SVN activity, even the initial commit. How can I do this? ...

how to configure NArrange with svn

Does anyone know how to configure svn so that every file committed is run on NArrange ...

How are you meant to do this so that it works? SVN tree conflicts, etc.

We have a trunk that we've branched. In the branch we moved files using TortoiseSVN into new folders to re-organise the structure. Those files were also worked on in the trunk. So let's call the file /trunk/file1.cs and /branch/folder1/file1.cs We're now trying to merge the trunk changes into the branch and svn is screaming about tree c...

Adding an assembly reference in a website project (VS2005) and storing it in subversion

I have an assembly I need to reference in a website project in Visual Studio 2005. I have in the solution a folder called Assemblies in which all third-party assemblies reside. I can right click the website project in the Solution Explorer and select "Add Reference..." and navigate to the assemblies folder to get the assembly. Once I do ...

SVNAnt Trilead jar missing

Hey all, I downloaded and installed SVNAnt 1.3.0, Ant 1.8, and Java 1.6. When I try to do a simple checkout via https, I get a java.lang.NoClassDefFoundError: com/trilead/ssh2/InteractiveCallback. I'm not sure why it's using an ssh class since I'm using https. Trilead SSH for Java doesn't seem to be supported or distributed anymore,...

Need help creating a file reference in a Visual Studio 2008 project

If I remember correctly, in past versions of Visual Studio (6, 2003, 2005), if you add an existing file to a project / solution, the file will be left where it is, rather than copied into the current solution. Regardless, this is what I need in VS2008. For example, I have two projects that, for 3rd party DLL reasons, need to link to di...

Maven: Obtaining parent project from SVN when running from TeamCity

I have 3 sibling projects that have a common parent that I'm managing with Maven. The projects share same parent which is one level up. The parent POM has no knowledge of any of the children it simply contains boilerplate, repo definitions and common plugins. Everything works fine until I try to put this on TeamCity. Here's how I do it n...

How to compare the files returned from SVN diff with the concatenated files in ANT

I am trying to create an ANT build script which will detect which files were changed during the development (by diff SVN command) and output the list of files which are built from these changed files. I would like to check all the Concat tasks within the build file and compare the filelists within them with the diff changed files list c...