svn

svn client/server versions

If I understand correctly version of subversion defines: A structure repository on server A structure of working copy on client side API between client and server Once we've install svn server, we don't touch/upgrade it. Things are more complex on client side. On client side (Windows) we currently use tortoisesvn. It's version (cor...

get content of a specific svn revision in subclipse plugin

hi, my eclipse plugin is comparing a specific revision of svn with the same revision that was patched by another user. i want to retrieve the content of a specific revision to my plugin, what is the best way to do it? ...

Help me understand Svn merge

I don't understand svn merge. Here's the scenario: We have a branch that contains the latest stable copy of our code. I will refer to this branch as 'the branch'. There's also a trunk branch which contains a few new additions, but we don't want to mess with that at this point. We have a vendor branch which contains an updated version o...

how subversion merges

Am a little confused about how subversion model works. So say me and my colleague have the same file checked out but we're working in different places of the file would subversion just merge both changes? Most of the time we'll be working with php and xml files, does that mean we should use subversions default model and not lock files? ...

Linux: Is this a correct way to run scripts in parallel?

Hello! I want to update a large amount of SVN-versioned projects at once, using a script. It takes very long when running update jobs one by one. So I tried to run the jobs in parallel. It seems to work, however I'm not sure if it's done correctly. Perhaps there are concurrency issues I didn't think of? Please take a look at the scrip...

svn can't connect to host 'localhost'

hello, I started two days ago to set up a svn environment on my local machine (win). i installed subversion + tortoise svn two days ago, and created the first test project. opening the link svn://localhost in my browser showed the Repository Browser with my test project having the folders tags, branches and trunk inside (which was great...

Is there any way to commit changes that I've made to my SVN checkout of trunk to a branch instead?

I just started working on some changes against trunk on an SVN repo, thinking they would be somewhat small. Now, I actually am beginning to realize that I probably should have just started a new branch instead. Rather than making a branch, and then moving each individual piece into it, is there any way to make a new branch and then com...

Upgrading Subversion server from 1.5.5 to 1.6.5 - dump/upgrade/reload, exact steps?

Hi all, I'm about to upgrade a SVN server from version 1.5.5 to 1.6.5 - all is fine with the actual upgrade, but I'm a little confused about upgrading the actual repositories. I've read in a few places (here, here), that it's better to dump and reload the repositories rather than using svnadmin upgrade. I assume that I should dump, up...

SVN Commit specific files

Hi all! Is there any way to commit only a list of specific files (e.q. just one of the list of files that SVN wants to commit). I'm working on MAC OS X under Terminal, without any UI. thank you ...

How to set build paths automatically in Eclipse

Whenever I update our project's code from the svn I have to set the build paths of the libraries I import again because the last person who made a commit has a different classpath from mine. Is there a way in Eclipse to automatically put in the imported libraries after updating from the SVN? I have heard of build files (Ant,Maven) but...

Migrating a directory to a different svn repository

I have code in an svn repository, call it repository A. Now say that I need to move the contents to repository B, but repository B has already been active for a while for other projects. Is it possible to move a particular directory from repository A to repository B, preserving the file history? Normally, to migrate an entire repository ...

subversion e-mail notification

I would like my subversion to send me an e-mail (and my co-workers) on every commit. There are many solutions to this, but I didn't find any that will enable me to use wildcard/regexp match on svn URL and use it to notify different group of people. Anyone done that? ...

Tagging an SVN checkout with externals on development branches

Most of our projects use a lot of common code. We are (finally) moving towards a system where we are managing that shared code in a uniform way. We treat the shared code as a separate project in SVN, then reference it as an external. However, we tend to point the external libraries to development branches or even the trunk while the proj...

Mercurial Client with SVN Support for Windows

Are there any Mercurial clients for Windows that have integrated SVN support? Our build server uses SVN and there are no plans to move towards Mercurial, but I prefer Mercurial over the other distributed source control clients I have tried (e.g., Git). I've looked into TortiseHG and the Mercurial homepage, neither of which seem to integ...

SVN commit and checkout

Dear experts, I commit my application to SVN (in which repository is stored in my external harddisk) in one PC (it commits "successfully" to be Revision 9). But somehow, when I checkout the same repository at other PC, it return "successfully" the older revision (Revision 7). It happens few time. Any idea? Thanks ...

Deploying with Capistrano & Subversion. Working copy locked

I'm deploying to a Debian server with Capistrano which fails due to locked a working copy. I narrowed it down to this: svn checkout http://myrepo.net/mysite/tags/1.0 /var/www/mysite/releases/1234 So if I run: cap invoke COMMAND='svn checkout http://myrepo.net/mysite/tags/1.0 /var/www/mysite/releases/1234' I get an error: svn: Workin...

Free Source Control system that doesn't require storing local copies of every file, thus doubling space usage?

Is there a source control system (besides CVS) that can be configured to NOT store local copies of files? Or perhaps it just doesn't do it by design? Ideally, one could configure such option by extension or file size. For example, if I do sometimes want to store large movies or pictures in SVN, the end result is double the space usage o...

remove data from a svn synchronized git repository

hello, we have a fairly huge svn repository that i access using git. so far everything was working fine. now someone accidentally added some huge chunks of binary data to the svn repository. (hundreds of MB!) of course git also sucked in those chunks (using git-svn). Is there a way to selectively remove some files from git without distu...

Is there a way to recover from an accidental "svn revert"?

Hi all, I managed to shoot myself in the foot this morning by doing the following: Started working on a change to my project Made a bunch of edits to a bunch of files Realized that my approach was all wrong, and that I needed to start over cd'd to the top level of my project and did a "svn --recursive revert ." to restore my local san...

fixing an SVN 500 error after editing the .access and .passwd files

Hi guys, I've run into an issue with SVN, and I'm not quite sure how to fix it. Here's the history of what's been done and what the error messaging is, and hopefully we can converge on a fix. Here goes: While away on vacation, another part of my team who didn't really know how to use svn wanted to edit our webpage. He couldn't get the...