svn

Svn repository split problem

I want to split a directory from a large Subversion repository to a repository of its own, and keep the history of the files in that directory. I tried the regular way of doing it first svnadmin dump /path/to/repo > largerepo.dump cat largerepo.dump | svndumpfilter include my/directory >mydir.dump but that does not work, since the di...

Why would subversion timeout when I try to commit changes to a directory?

When attempting to commit file in the jsunit directory in my working-copy, I waited a really long time and got an error like: svn: OPTIONS request failed on '/svn_repo/OSB_Project/trunk/OSB/test/web/jsunit' svn: timed out waiting for server Why would the server hang at this point? Running SuSE 10.3 in a VirtualBox where I keep my Sub...

Handling svn locks / cleanup when using CruiseControl .NET and Subversion

I am using CruiseControl .NET with the Subversion source control plugin to automatically build our project. Some of the projects are automatically checking for modifications, but occasionally the check fails and CruiseControl .NET marks the project with an "Exception": ThoughtWorks.CruiseControl.Core.CruiseControlException: Source cont...

How can I change the revision number of a repository in Tortoise SVN?

I have a project that has a revision number of 3960. But unfortunately it is not under source control. Now I would like to put it under SVN and use Tortoise SVN. But when I put it there it will have revision from 1,2,3,4 and so on. Is there a way to change the revision number to 3960? ...

Best practices for development with multiple machines and version control

I'm just getting into the practice of version control (I'd like to use Eclipse and SVN), and I'm not sure the best setup for my scenario. I'm currently a lone developer and I have two computers (a work desktop and a home office laptop) that I like to use for development (mainly web-based stuff). I have access to a Linux-based and a Wind...

Pushing from subversion to web server

Long ago I tried to sort out my system between local, web server and subversion. I got some good explanation on this question. Unfortunately I hit a road block on the whole pushing from SVN to a web server part and never revisited. All of my projects are solo, so I'm the only one developing them and often I'm the only user. So I've b...

getting new file added to subversion without updating whole folder

Hi, What I want to do is be able to add a file to my folder which is under Subversion source control in my local computer and then commit it. no problem up to here. On the server I want to get the new file using Subversion but without having to do an 'Update' to whole folder (which may update a bunch of unrelated files). You see, if I ...

NAnt task running "svn import" fails

I would like to import a build product to Subversion in a NAnt build task. But it fails for me. The following works fine for me from the command-line: svn.exe import -m 'Importing build 14' build/project.zip http://svn/builds/14/project.zip --username builder --password secret In NAnt I have the following task: <exec program="svn....

Subversion as version-incrementor at each commit?

I'd like to update the (highest) revision number to a file inside a subversion repository after each commit. I thought of a svn version keyword, but doesn't this only get updated if the specific file was changed? i.e. I have a file version.php where i have the version/revision numbers, but only update anotherfile.php in my commit - thi...

Improving our dev environment at work

In the near future i will get some 2 weeks for moving and improving our development environment at work. We mainly develop one large PHP/MySQL project with 2-10 developers. At the moment we have one dev server, running apache with mod_userdir, each dev has a /public_html folder in his (samba-accessible) home. For VCS and Project Manage...

CVS to SVN

We are migrating from CVS to SVN and as far as I can see, SVN does not have checkout hooks. Rephrase of my question. In CVS the post checkout operation is defined using the '-o' option when defining modules in the module file. This is a behavious I am looking for in SVN. ...

svn:switch doesn't work with relative svn:external?

We have a subfolder that is a relative svn external (../project/subfolder). In a fresh trunk checkout it points to (...TRUNK/project/subfolder) and in a fresh branch checkout it points to (...BRANCH/branchName/project/subfolder). But if you do a switch on the project containing the subfolder, the subfolder stays pointing at TRUNK. Alt...

We use Subversion, but our client uses SourceSafe. What are my options?

We're about to start a new project, and our client's current application is .NET versioned in SourceSafe. However, we use Subversion internally. This will likely be a "one-time" delivery (complete application rewrite), so they could easily do a checkout from our repo, then export, and import into their SourceSafe repo. However, my fear i...

Nightly syncing of TFS to SVN

Our development department is going to be using Team Foundation Server for our projects, but we're required to sync up with the company standard SVN server on a nightly basis. Is there any good method to sync them up (TFS to SVN), like a nightly scheduled task that runs an SVN add, remove and commit? ...

Copy SVN Repository

I have an SVN repo at a hosted SVN service which I need to move to our locally hosted SVN service. The host offers an export feature, which I've used. But how do I take that exported file and import it into a new repository? EDIT I tried using svnadmin load, but got an error message: % svnadmin load . < ~/ss2_14066_rev36 svnadmin: Mal...

How to test that I configured Subversion Path Based Authorization in the right way?

The problem is about security settings of the Subversion repository served trough the Apache web server. I use the Path Based Authentication to protect some company information from external collaborators. I need something that tests that the authorization is given the people I want, i.e. I need to check that I hadn't make mistakes in t...

Subversion for web development

I've read a lot of articles about subverion and pushing the information to a web server and I'm still having difficulties. I can understand the basics about creating the repository and checking out etc but need help for the web server. I'm running apache and subverion is running on the development server I'm working on. Now do I creat...

Bash text parsing golf

Hi, I am writing a shell script to, among other things, determine the last time a branch was made in a subversion repository. The following code works: DEV='http://some/svn/server/' BRANCH='some/repos/branches/' LAST_UPDATE=`svn list http://$DEV$BRANCH | sort -r` LAST_UPDATE=${LAST_UPDATE:0:10} But ...

How to recover from svn hotcopy backups

Our current backup process is doing a SVN HOTCOPY every night, to a backup location on a different machine. Can I somehow recover from that backup and retain all revision history? Or do I need to use the svn dump/load? Thanks, Chandrajeet ...

svn dump fails with WScript.Shell

var WshShell = new ActiveXObject("WScript.Shell"); var commandLine = "svnadmin dump " + repoFullPath + " > " + repoName + ".dumpfile"; WshShell.Exec(commandLine) I am trying to run above cscript in windows but it seems like, it's doing nothing. It doesn't create the dump file. Any mistake that I am doing? Thanks, ...