svn

SVN Relocate or Switch?

I've reinstalled my SVN server and the path has changed from svn://192.168.1.35/DDL2/trunk/DD_... to svn://192.168.1.35/trunk/DD_... . I've made several changes on the working copy and wants to commit it on server so I need to change the path/url without affecting the working copy. I've tried to use TortoiseSVN's Relocate feature but go...

How do I export changesets from hg repository to svn repository

Hi, I know there is hgsubversion extension for mercurial. But before I knew how it works, I maintain two separate repositories, one is SVN repo and one is Hg repo. I made most of my recent changes in the Hg repository and I need to "push" them to the svn repository. The most straight forward way to do this is to get one revision from s...

How to I avoid storing a local copy of predecessor versions with subversion?

I use subversion for all my code even on the local machine. Since the repository is always available on my machine, there is really no need for .svn subdirectories which store a copy of the predecessor. Is there a way I can avoid this and let the subversion always talk to the repository for the predecessor whenever there is a need? I u...

Custom 401 Error Page for SVN Server

I have SVN server running on one of my domains as svn.mydomain.com and would like to setup a 401 error document for when the user authentication fails. As svn isn't an actual folder or real subdomain, i'm confused as to where I can put the ErrorDocument 401 line. It doesn't have to be in the .htaccess file, if it will work I could put ...

How to Merge multiple patch files?

We use subversion and during every check-in, a script creates a patch file with all the diff. Now for the same issue/defect there could be multiple check-ins and we end up with multiple patch files. Now to see consolidated changes for an issue all the patch files have to be merged. Is there a way to do that? Or another way to solve the ...

Subversion misses new directories during update

I'm using SVN 1.6.3 and TortoiseSVN 1.6.6. Periodically when I do an update from the root of my project, SVN fails to pickup a newly added directory (added by a co-worker). I've verified the revision number is correct and can even see the new directory (and its files) in the log for that revision. This doesn't seem to affect all compu...

Deploying a Website from Subversion

I am new to subversion and am wondering how do you move from develoment to staging then production? I think I grasp the concept of creating branches made for releases as detailed here. But how do I actually deploy the branch? Ideally I could just set up a new website and copy the files over from the branch, but I am concerned about c...

Project code managment using SVN

Hello there.. I've started working on a project. I would like to store this project using subversion. I've installed VisualSVN server and TortoiseSVN. This project consist of several little projects. Some of them I need everytime, some of them not. The questions are: Should I store the whole project in one subversion project directo...

Subversion 1.6.6 Error "Could not open the requested SVN filesystem"

I am running ubuntu server with Subversion 1.6.6. In windows I use the latest Tortoise SVN compiled against Subversion 1.6.6. I create a new Repository and when I attempt to view the repository or import my files and get the following error: "Could not open the requested SVN filesystem" I can view the repositories via the command lin...

Write current svn version into text file

I have a rails site. I'd like, on mongrel restart, to write the current svn version into public/version.txt, so that i can then put this into a comment in the page header. The problem is getting the current local version of svn - i'm a little confused. If, for example, i do svn update on a file which hasn't been updated in a while i...

How to configure hudson to ignore changes under specified SVN folders?

Hi all. I'm looking for a way to ignore changes under specified SVN folders in Hudson. It's the same thing as exclude folders in TeamCity and filters in CC.Net. I haven't found any configuration option under SVN GUI configuration. Thanks in advance! ...

How to add file to a previously committed changeset in Subversion?

After migrating from TFS to Subversion, we have found out that one of the files (a branch operation) of a changeset is missing. The tool that we have used implemented branching as delete and add operation separately and in this case it missed to add that file. After hundreds of revisions later we discovered the problem and fixed it imme...

Install git-core +svn fails with MacPort

Hi, I tried several tricks, clean all, and no luck. Any tips? sudo port install git-core +svn +doc ---> Computing dependencies for git-core ---> Building db46 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/wo...

How to organize a webapp?

I'm starting my first webapp, and I'm not sure how things typically are done. I'm using Django and Apache: How do you manage a source control repository? Do you check out to a separate folder, and then have a build script that copies files over? What exactly should be added to the repository? In other words, how do you make sure that y...

Using libraries in XCode and sharing them via Subversion

We are including the mySettings library in our iPhone application to provide a settings dialog inside the application. The installation description in the Wiki of the projects describes how to include the library (see http://bitbucket.org/karemorstol/mysettings/wiki/Installation). After following these instructions the application compi...

Weird Subversion permissions issue

I'm trying to set up SVN on a CentOS 5 system so that several people can use a repository. I've created the repository at /var/svnrepository. I added a subversion user and group, made that the owner of the repository recursively. I set permissions to 775 recursively. I ensured that all the system users are in the subversion group. T...

svn : Can not Parse lock / entries hashfile

Hi All, Whenever I am trying to lock or unlock any file in the project it gives me error : svn : Can not Parse lock / entries hashfile Now I am not able to take lock on file. Some clues : 1. We have just migrated our svn repositories from one url to other url Is there any way I can reset the lock file of repository. ...

get list of folders and files in vss Databse and check whether any one is a linked item using C#

How can I get a list of all the sub folders and files in a vss project and check if any one is a linked item (shared item) by using C#.net code ? I have migrated a VSS database to SVN. My aim is to compare a VSS project with the corresponding migrated (vss to SVN) project to see if there exist a linked item (shared folder or file). T...

Managed (.NET) Subversion Server

I'm perfectly aware that there are lots of client libraries to connect to an SVN repo, manage working copies, etc. What I'm looking for, though, is an implementation of Subversion server for .NET (or a wrapper around some low-level code). Are there any or I'm asking for something unreasonable (well, sure I do, since I understand how muc...

C macro to transform a SVN revision to an integer

I am looking for a C/C++ macro that can transform a random SVN revision like "$Revision: 9 $" or "$Revision: 9999999 $" into an integer or a string. I know that simple functions exists to achieve this, but I want this to be made at compile time. My wish is to write things like:unsigned int rev = SVN_TO_INT("$Revision$"); ...