svn

How do I detach a local SVN working copy?

I cannot just rm -rf $(find . -name '.svn'), because I've got some directories in my working copy which are unversioned (on svn:ignore) and at the same time working copies of other svn repositories. my-repo |+ directory ||- .svn (to delete) ||- files... |+ another_directory ||- .svn (to delete) ||- files... |+ directory_ignored (svn:ig...

What makes merging in DVCS easy?

I read at Joel on Software: With distributed version control, the distributed part is actually not the most interesting part. The interesting part is that these systems think in terms of changes, not in terms of versions. and at HgInit: When we have to merge, Subversion tries to look at both revisions—my modifi...

How do you pass a file list to the linux zip command

I'm using Git for version control and unlike SVN I have not come across an inherent means of performing an export of changed files between 2 revisions, branches or tags. As an alternative I want to use the linux zip command and pass it a set of file names, however the file names are the result of another command git diff. Below is an ex...

Usage scenario for svn branches

I have a product that I distribute to my clients. Each client needs some UI customization. I want each client to be able to get updated with new version easily. Can I create a project in svn that serves as a "base project", and then create branches for each client? With that said, will I then be able to commit changes in a branch to the...

Android "gen" folder and SVN - bitter enemies.

It seems that I accidentally checked in my "gen" folder from an Android project (this folder contains the R.java generated class). When I realized I did this I deleted it from SVN and tried to ignore it. Now I am now getting the error... "Could not add gen to the ignore list! Working copy 'C:\code\guru' locked. When I try to ...

TeamCity error: svn: connection refused by the server

We have a Continuous Integration environment setup with TeamCity and subversion. TeamCity gets the latest source from svn and does a build (Visual Studio) on every commit. Sometimes we get the following TeamCity error when the build runs. Doing a couple of force builds gets TeamCity running succesfully. Build errors [12:35:24]: Pat...

Using Maven to build JAR from source in Subversion trunk

There's a Java library that I would like to use in my project. My project uses Maven to pull in dependencies and it works great for everything except this one library. The problem is, this library never has releases. The author maintains the source in a Subversion repository and only makes changes in trunk. Is there a way I can tell ...

how to get svn/cvs log record by java?

I want to cut the svn/cvs recods in pieces and then put in to database. After that i can make use of those data easily. Any java function can get out the record? and How? If possible, please provide a example. Thank you. ...

Is Subversion's 'Lazy Copy' still lazy when overwriting a previously deleted file?

Is Subversion's 'Lazy Copy' still lazy when overwriting a previously deleted file? I store my externals in a separate folder for each version: i.e say for dojo I'd have: webroot\ scripts\ dojo-v-1.0.0\ dojo-v-1.1.0\ etc. By doing this, for me at least, I feel it makes it easier to switch over to a new version. By only addin...

How to exchange the svn log into a xml/txt file

When i run "svn log ....... --xml", it just also dislpay in the console. Is there a way and how to copy that log in other xml/txt file? Because then i want use java to put those data in database. ...

How to exclude a folder in svn checkout in maven?

Im using maven to checkout some projects. I don't want maven to checkout a folder. But it seems to ignore the excludes tag in configuration. This is the svn structure: trunk/ |-- folder_to_include `-- folder_to_ignore And here it goes a sample of the pom.xml: <execution> <id>checkout_application</id> <configuration>...

Clear subversion revision info

I want to remove all stored revision info, except for the most up to date version (in an effort to safe space). Is this possible? ...

How do I use SVN effectively?

Possible Duplicate: how does version control work? I have an SVN repository that I've set up on my VPS, and I know all the basics (update, commit), but I don't know what all the other options mean. I am running TortoiseSVN on Windows (which is great!) and can see all these features like branching, locking, merging and patchin...

Subversion - Do I need to reintegrate if I don't merge from trunk

Hi, I have read quite a bit about the need to re-integrate when you merge from a branch back to the trunk in SVN (This article was really helpful http://blogs.open.collab.net/svn/2008/07/subversion-merg.html). The problem seems to come from the fact that people are regularly updating the branch from the trunk which means that the final...

How to copy files from one branch to another from SVN CLI or TortoiseSVN?

hi there! I'm trying to move certain files from one branch to another or many but when I try to copy (using tortoiseSVN) it tells me the folder already exists :/ is there anyway to propagate changes from one branch to others? ...

Does a recursive Ant task exist to recover properties from external file?

Hi, I ve got a problem in getting properties with ant from a properties file. With a simple target like this in my build.xml, i'd like to get at least two properties path1 and path2. I'd like to have a generic target to get this two properties.... in order to avoid modifying the build.xml (just adding a new prop) Any suggestions? T...

SVN X remains in tree-conflict

I am using VisualSVN (which uses Tortoise). I accidentally move a folder to a different location. When tries to move it back, SVN pukes with this error. It happened once before and I managed to do some random updates/commits, not knowing what I was doing and it was "fixed". I cannot pull the same magic again, so I need to know how to get...

Eclipse crashes during SVN merges

I am currently using Eclipse Version: 3.5.1. It works perfectly in normal conditions, even with the SVN plugin, the faulty component that I am about to talk about now. The thing is that whenever I am conducting a merge, eclipse shuts down. It just crashes without even leaving an error message or anything else. It happens too often so th...

Prevent checkins to SVN

My team uses SVN for our software platform, and we create tags periodically to help keep module versions straight. Best practice, as I understand it, is not to modify a tag once it has been created. However, it seems that sometimes the temptation is too great and a modification is made to one of the tags. Is there a way to prevent these...

Tool to migrate a repo with only read access?

I have a subversion repository located on our school servers from a project my friends and I worked on the past semester. We want to take the project and polish it and make it more of a portfolio item and I'm not quite sure that the repo will stay intact on the school servers (they usually wipe it after a few semesters). I don't have acc...