svn

best way to rename a file

using visual svn and tortoise svn here I renamed my file I notice it say add and delete which to me means history may be erased? What is the best way to rename a file without losing history in subversion? ...

Does PySVN need Subversion installed?

I have python script that uses pysvn and checks out or updates a local copy obtained also from a local repo. client.checkout(url, path, revision=pysvn.Revision(pysvn.opt_revision_kind.number, RevNumber), ignore_externals=False) I am running this on a windows machine in which I haven't installed subversion. The svnsync used to obtain ...

Version control for multiple projects extending a single project

Hi, I'm currently working with a collection of projects which are all their own specific branches / extensions of a generic core project and I am looking for a way to manage the way the projects collaborate. I understand the following is a little vague, I only have a little experience with version control beyond the basic needs of a si...

In SVN, how to maintain common code base which would be changed by 2 or more projects?

This question is in a sense related to "Best way to share common code", but the situation is slightly different in this case. I am now coding an application, say A, for a project. It is unfinished and now a new project B, will be started and is basically a replicate of A with add-ons. As both projects are unfinished, it is likely that I...

Subversion hook for setting properties

Please, help me with hook script on server which set svn:mime-type to application/octet-stream on all new and existing files automatically on each commit from working copy to repository. (I need it to prevent subversion auto merge files on conflict.) My platform is Windows. ...

Java + Subversion + UML modelling

I would like to know if there are any tools out there(preferably open source), that one can use to connect and authenticate to a local/remote subversion server and query the repository. I aim at getting snapshots(revisions) of the repository at a particular moment in time and model the revision using class, package, sequence and collabor...

Updating the trunk from my branch at regular intervals

I am working on a long term branch. I want to update the trunk with the stuff in my branch every week or so. I had been updating my branch from trunk using merge a range of revisions. I then used reintegrate a branch to merge my branch back into trunk. Then I went back to my branch and did merge a range of revisions and I got a ton o...

Search subversion via TortoiseSVN for values inside files?

I'm looking for a way to search subversion to find any file where a certain server name is referenced. Is there fairly straight forward way to create a list or report based on a value in the files? ...

SVN ignores file

Hello, I added another XCode Project file into my repository using "svn add" But the problem is that when I want to check out the repository the added .xcodeproj package is empty and I get an error from XCode - cannot find .pbxproj file. I'm sure that I don't have "*.pbxproj" set in my global igonres. Why doesn't SVN add files includ...

Tortoise SVN "Can't read from connection error"

I have installed SVN server and try to access it using Tortoise SVN client. During the checkout/update process I randomly get an error "Can't read from connection. An existing connection was forcibly closed by the remote host". Some files are loaded (but sometimes not from the first time). I have googled a lot of similar problems, but h...

Subversion Permissions Conflict Leads To Interface Problem

I've been using SVN to track my projects, and I've run into a problem several times. svn: Directory "/programming/projects/mydirectory" containing working copy admin area is missing I bet you're familiar with that one. What seems to be making this happen is when I try to "svn add" a directory that I don't have write permission to....

How do I get a list of all files in a subversion workspace ordered by last changed date/rev?

I'd like to get a full inventory of files in a workspace (roughly similar to 'find .' output) ordered by the date (or revision number. . same thing) of last commit to that file. The goal is to identify which files are most and least actively modified. Svn info provides the relevant date but doesn't work recursively. I have access to t...

Is there anyway to import XCode snapshots into a new SVN repository?

Greetings, I have been working a project in XCode for a while. I have been using xcode snapshots as a rudimentary version control. However, I have decided that it's about time I moved up into a real SCM system, so I plan to create a repository and import my project into SVN. My question is: Is there anyway to import my snapshots hi...

SVN: Release branch headaches, how to merge in website revisions as and when cleared to go live?

I need a sanity check here if we can, any ideas on correcting/changing the following are very welcome! We've been getting ourselves in knots of late with our SVN and are trying to correct it by putting a Trunk/Release system in place. We have a large website that we develop on and we store it all in SVN. Heres what we had in mind: We ...

Eclipse "this compilation unit is not on the build path of a java project"

Hey, The problem is I cant get autocompletion to work on eclipse. Im working on the project on svn. I set up projet in eclipse by going into File->Import->Checkout As a Project->New Project Wizard. I choose Enterprise Java Application and its being downloaded. And everything seems to work fine exept I dont get autocompletion but message...

Configure (or mimic) svn:externals to include code from Github in a svn-hosted project

We use Subversion locally, and we're working on a project that uses a fork of Fluent NHibernate, which is hosted on Github. I'd like it set up so that a single svn checkout will retrieve everything necessary to build the project, but maintain the ability to fetch HEAD updates from github. Is there any way I can pull code from the Git r...

Subversion: howto find all revisions that are not merged to trunk?

Branching sources for release cycle is one of common source management scenarios. Merging as soon as possible is a good practice. Thus we have a human factor: branch is closed, but someone forgot to merge something back to trunk. Q: Is there a "one click" way to get all revision numbers that were not merged from branch X to trunk? (Not...

SVN Synchronize vs Update to Head (subclipse)

Hi all, I'm fairly new to both Subversion and Subclipse and am seeing some issues that lead me to believe there is a difference between updating to head, and synchronizing. Specifically I find that when I try to revert (using the subclipse history), I often get a message saying "Cannot reverse merge a range from a path's own future histo...

Sources from two SVN repos

I have a java project checked out from one SVN repository where I have read access. To this project I added my own package. I have uploaded the entire project, including my package to my own SVN repository. Is there an easy way to update my sources from the repository where I initially got the project? ...

Powershell: How to recursivelly delete all svn files

How would one go about deleting all subversion files from directory using Powershell? ...