svn

Start with git or svn ?

Hello Now I make every time a zip file of all my files to make backups. But then I heard about svn und later I read that git is "better" than svn. Can someone suggest me with which I should start learning? ...

Setting up Magento and SVN on existing install

I've just taken over a large Magento installation with plenty of customizations. I've never used SVN on a project, but I definitely see the benefit of having it. So far, I've managed to create a repository, but I now need to know the process of taking a copy of the current project and getting the SVN setup correctly. What is the process...

How to force svn.exe to ignore files from specific changeset when committing?

I have a custom tool that uses svn.exe for committing files, and my project has several files to ignore on every commit (configuration files). This scenario is working well with TortoiseSVN, which moves them into a changeset with "ignore-on-commit" name. svn.exe has parameters to commit changes only from the particular changeset, but it ...

Magento version upgrade in SVN

I have a Magento Enterprise Edition install in a repository, client's site is running, all is well. Now I want to upgrade this client to a new version of Magento, but the only help that EE gives me for upgrades is to delete the entire app/code/core directory and move the new files in. This is, to say the least, non-optimal. Any good t...

Creating an SVN repository from an eclipse java project

I'm creating a project under eclipse that is to be shared by several developers. The instructions I found for creating an svn repository said to: svnadmin create /var/svn/draw create a directory with my project on the server, make directories under it including trunk put all code under trunk. I copy in all the code, which is in src/ ...

Migrating from Subversion to Git

I have a lot of pre-existing projects and code in a few different Subversion repositories. I am planning on getting my toes wet with Git by migrating a few of the easier/soon to be multi-developer projects to Git. I have a few questions: If I start with a hosted Git solution, is it hard to change the Git server of a project (In Subvers...

Howto determine if an SVN working copy needs updating (from a script)?

I'd like to determine from a batch file on Windows if a local SVN working copy needs to be updated from the server. On a unix-like machine, I would run "svn status -u" and count the '*'s. How do I achieve the same thing in a batch file? Background: I'm trying to determine if a dependency library is out-of-date since it takes a long time...

Subversion: How to unversion the BIN and OBJ folders

In subversion/TortoiseSVN, I am wondering how to un-version a directory. We have a large number of projects, each with a BIN and OBJ folder which are under source control. I want to delete these two folders from subversion, but keep the folders locally. I tried the "Delete (Keep local)" option, and that works on my machine. However w...

Mac OSX + Eclipse + Subclipse + SMB - Not able to commit files

I use Eclipse+Subclipse on my Mac to edit a code base that resides on a RHEL5 desktop, via an SMB share connection. Everything works like a charm, except the SVN commit part. A JavaHL exception is thrown on commit, that looks like the following. org.tigris.subversion.svnclientadapter.SVNClientException: org.tigris.subversion.javahl.Cli...

svn+ssh problem

Hi , i have an issue when i try to do the svn checkout. i issued the following command on my ubuntu linux box. svn checkout svn+ssh://example.com/var/svn/site/trunk i faced the following error . ssh: FATAL: Illegal -o parameter "ControlMaster=no" svn: Connection closed unexpectedly i am not sure about the error... Can any please h...

Is it possible to restrict branching and tagging in CVS at the server?

We need to convert a production CVS respository to SVN. We are using CVS2SVN for the raw conversion process as well as some other tools. Because this is a live development repository, the downtime at the repository switchover point is fairly important. Our test runs of the base CVS2SVN conversion are taking approximately 5 days at prese...

Using Subversion with Flex 4 - problem importing services

I'm using the Subversive plugin for Eclipse/Flex and I can commit the files correctly, but I have to rebuild Data/Services each time and reconfigure return types for each, etc. Does Subversion not provide a way to check/in out Data/Services or must these be rebuilt each time? ...

use sourcecode from svn repository on multiple projects (share project)

Hi, back in the old days, when using Visual source safe, i used to share projects in VSS between multiple solutions. Doing this allowed me to open 2 visual studio solutions and both use the same code from the shared library. i don't remember if the code was 2 (or more) times placed on my harddisk. Is this also possible using SVN? ...

SVN user groups and permissions

Hi, I have setup an SVN server on my hosting account. Users can check in and out, but they have access to my entire repository. To give people access, I issue users a public key to my account and then I add a line into my "authorized_keys" file inside my ~/.ssh that looks like this: command="/home/user/packages/bin/svnserve -t -r /home...

Moving svn working copy to another computer

I'm in the process of moving from an old laptop to a new one. Am I able to just move my client copy of the svn repository from the old laptop to the new? Note that it has files in it that I'm not able to commit yet. So effectively I want to move \\old-laptop\c$\myDev to become \\new-laptop\c$\myDev Is this possible? (I've searched f...

Extracting projects to their own repository in svn using svndumpfilter2 (python assertion error)

I'm attempting to migrate a project out of one repository into its own repository to more easily handle authentication/authorization via ldap. However, in attempting the svnadmin dump | svndumpfilter --include ... I get the standard error that some files in the included path were moved or copied from somewhere NOT in the included path, ...

Maven release plugin - how to set svn:ignores

I have a maven project which generates files which are ignored in Eclipse by the global setting (Team -> Ignored Resources) and therefore are not going into svn. If I want to release the project on our build server with hudson it fails as it says that the local copy has local changes (the generated files). How to I tell maven there to i...

Is there a good SVN tool to easily view past revisions?

Source control is great. One of the nice features is that I know that I can go back to previous revisions in case something messes up. However, I still find myself loathe to delete a large batch of code that is no longer necessary, but that I might want to use parts of in the future. It really has no business in the current code base. ...

Subversion Help?

I have a project that I've checked into my SVN repo. Now I've created a second version of the project located in a different folder. I want to check this folder in as well, without interfering with the original project. Looking at my repo, it doesn't look as though I have the typical trunk/branches/tags folders, for whatever reason. So, ...

Storing a web project (in my case joomla) on SVN - how to do this properly

I have made a joomla component that I want to put on SVN. The problem is that Joomla components have bits and pieces scattered all over the place. What is the best way to handle this with SVN considering I still want to be able to version the application, without including all the core joomla code website code? UPDATE I ended up usin...