svn

Online collaborative environment (not only dev oriented)

I've been working with SVN for a couple of years and recently been working on some projects involving Trac. It might seem odd for most of you but I come from design oriented background where those tools are not so often used. For the moment we mostly use Basecamp to keep track of client requirements, documents etc. And on the other han...

Adding Visual Studio Project references to SVN

I checked in a project to SVN with about 15 references from one dev box then checked out the same project on a second dev box but most of the reference files are missing. Is it possible to checkin the reference files automatically? ...

Adding unversioned files to subversion

Is it possible to add files to subversion that isn't supposed to be versioned? F.ex. config-files that needs to be edited to match each individual environment. When a new programmer is connected to the project he should get the original file from subversion but it wont be commited after he edits it and it wont be overwritten when he upda...

How can I run updates in SVN without causing many conflicts.

I am using SVN to develop some software in a team of four people. Whenever I update my working copy, it creates far more conflicts than I would expect to be created, a large number of these conflicts are like so: If the initial was import Class1 and I change it to import Class1 import Class2 while another team member changes the...

SVN: How to re-create a directory that's created but not committed yet

Here's a little SVN problem: I create a directory locally: $ svn mkdir output A output I accidentally remove it: rm -rf output Now, how do I recreate it? I tried this: $ svn mkdir output svn: 'output' is already under version control And this: $ svn revert output Reverted 'output' But it's still not there. UPDATE: P...

Getting the last revision number in SVN?

Using PHP, Perl, or Python (preferably PHP) I need a way to query an SVN database and find out the last revision number sent to SVN. I don't need anything other than that. It needs to be non-intensive (so I do it every 5 minutes as a Cron, SVN's performance cannot be effected). SVN is located on my Intranet, but not my specific computer...

Why is $Id$ sometimes not expanded in SVN?

I'm working on a project in which we're actively using the $Id$ string generated by subversion to write the version number in the documentation. For example, we parse this string $Id: filename 999 2009-02-23 22:51:29Z author $ and print "999" in the documentation titlepage. But every now and then, after a commit, the information is r...

svn access to a https repository: username / password always being prompted for

I just moved my svn repository to a new server. Previously I was accessing my repository via svn://oldserver/yyy/zzz Now I want to access it via https://newserver:8443/svn/yyy/zzz I used switch --relocate to repoint my source tree and this seemed to work well. When I try to update the source I use: svn.exe update zzz --username myuser...

SVN: one working copy, two repositories?

I'd like to know how can I set two repositories for my one working copy. I need one repository in my server, so that I can check in/out between two pcs; I need another repository in my local pc, so that I can see the result of diff quickly (my svn server is on a slow shared host) How can I do that? ...

What is a working copy and what does "switching" do for me in Tortoise SVN?

Alright, lets get back to SVN 101. I have a software app and I've hit an important milestone, version 2.0. I decided I want to tag this version as "Version-2.0" so I have this named snapshot. I also create a "Version-2.0" branch in case I need to fix anything and merge it back into my trunk. After reading through the Tortoise SVN hel...

Changing the username for a Subversion commit over svn+ssh

I've run into an issue with our Subversion configuration here: I've checked out a project over svn+ssh on the local Linux system. So svn info reports something along the lines of: URL: svn+ssh://MYUSERNAME@server/svn/project/trunk/ Now my co-worker is unable to update the checked out working copy (It's on a live server) because the co...

How to do a bulk svn mv in Unix

I want to bulk move a large number of files from one directory to another in svn. Unfortunately svn only supports moving one file at a time. Basically I want to move files of a certain type (.xml) to a completely different directory e.g. mv foo/bar/.xml forbar/xml I tried playing around with find and using -exec but I need to strip th...

svn externals not adding all files

We have an external app_code folder shared among multiple projects. I have noticed that when I do an svn update using tortoise svn that not all the files within the folder get added to my app_code working folder. If I delete the whole folder and do an update all files are added. This happens on all folders that are external. Any help on ...

WAMP - PHP shell_exec() problem

I'm using WAMP as a server, and I have a need to execute svn, which can be found in my Windows directory: C:/Program Files/Subversion/bin/ The problem, is that when I launch the php program from the server, it won't produce output. It works from the command line, which makes me think this is a permissions problem with WAMP. However afte...

SVN Merge Branch from one Repo into Trunk of other Repo

I have two repositories which live on separate servers, call them repo-1 and repo-2. To start both "trunks" were equal: repo-1/trunk == repo-2/trunk Meanwhile changes were being commited to repo-1/trunk and I was working on and commiting changes to repo-2/trunk. Now I need to merge changes from repo-1/trunk into repo-2/trunk. I thou...

Can I use multiple source control providers on one project in Visual Studio?

At work, we use Team Foundation Server for source control. I work from home a lot, though, and external access to our Team Foundation Server isn't possible now or in the foreseeable future. I'm utterly fed up of using email/usb source control - almost as bad as no source control at all - so I was thinking about bringing the project(s) ho...

TortoiseHG and TortoiseSVN play well together?

I had TSVN installed first and been using for a long time. Then I install T-HG and when I right click I dont see any TortoiseHG. Does anyone have this same problem? All the T-SVN overlays are still there. ...

how to access SVN using VBScript

We'r maintaing some test scripts written in VBScript in SVN and everyday morning we get the latest copy of these files and run the tests. We are doing this manually at the moment. However we want to automated this whole operation. How do we access SVN using VBScript to copy the latest code back to the test machine? Is there any API th...

Which documents should be added to a svn repo?

I am working on a personal project and although I do have a wiki I would like to add different documentation files to the svn repository. Such files include XML (generated by monodoc) as well as UML diagrams(generated with dia). In this a good idea, I have hear/read comments about not adding binary data to the svn repo and try to just ...

Subversion: how to nuke a repository?

Is there a way to completely erase a Subversion repository so that users can't access to old revisions? PS: I have root access on the repositories machine. ...