svn

How should I save a file in OpenOffice so that it is not a binary file in Subversion?

I'm working on an Open Office document with a partner and we are using subversion to collaborate on it. However, we are saving the document as a .odt file and subversion reads this as a binary file type. Therefore it has me worrying that when we go to merge the files and the diff pops up that we will not be able to adequately perform the...

Are there any free cmd-line scripts which can re-format PHP source-code?

I'm using a pre-commit hook to lint-check PHP source submitted by our staff, and everyone's really happy with the results. The staff have agreed it would be useful to have the code re-formatted to follow (customizable) style rules on commit. Are there any FOSS scripts which can do this from the command-line? ...

Recommended file setup for VisualSVN and Web Deployment Projects

Our ASP.NET web shop is starting to move from VisualSourceSafe to Subversion (VisualSVN/TortoiseSVN). Subversion needs to have all files residing in a single directory tree. This is simple when using a Web Application Projects - everything lives in \Visual Studio 2008\Projects\MyProject With a Web Deployment Project, though, it's ...

How to get Subversion to work with auto-generated files?

I'm using ASP.NET Web Deployment Projects with TortoiseSVN and VisualSVN, but this is a general question about generated files in Subversion. A Web Deployment Project automatically generates a parallel "deployment" version of your website with all code stripped out and compiled into a single assembly. My file structure is: Trunk Trunk...

Private VCS hosts for school projects?

I want to use version control for a partner project for school, but these days it seems like there are no private, free VCS hosts that I could use. I would prefer to use git if possible, but I wouldn't mind SVN. Alternatively, if there aren't any, shouldn't there be some way for me to use git without a central repository? I don't know en...

Error trying to set svn password on Hudson.

After filling the Repository URL, User name and password I get the following error. Does anyone knows how to fix it? No authentication was attemped. FAILED: svn: Operation cancelled org.tmatesoft.svn.core.SVNCancelException: svn: Operation cancelled at hudson.scm.SubversionSCM$DescriptorImpl.postCredential(SubversionSCM.java:1421)...

Listing the files and revisions with a certain check-in message in Subversion

In SVN, is there a way to list files based on a commit message? ...

How to synchronize SVN revision and version ressources of EXE/DLL files?

Say I have some C++ project which builds an exe or dll file. The project is checked into a SVN repository. I want to automatically synchronize the revision from SVN with the version resource embedded in my exe/dll file, i.e. the version should be something like $major.$minor.$svn_revision. Any ideas on how to achieve this? Are there any ...

Running a command with every svn commit

Is it possible to make svn run some command before every commit? I have some documentation in LaTeX in the repository and would like to have always the latest version of the compiled docs available as a pdf in the repository. The same would go with doxygen docs. I'd bet that there is some magic svn:something property or something like t...

Using SVNSERVE to host Subversion server, configuration files, etc.

I have a SVNSERVE server set up to host multiple repositories. Short question here My question is really this: I have authz, passwd, and svnserve.conf in the main directory outside the repositories, and this seems to work, in the sense that changes here will give, or deny, access to the relevant repositories. However, due to an error ...

Unable to start subversion using Launchctl

I'm trying to use Launchctl to launch svnserve process but I keep getting an error saying "no plist was returned for:/Library/LaunchAgents/org.tigris.subversion.svnserve.plist". This is where svnserve is /opt/local/bin/svnserve and this is the plist file Any thoughts what might be wrong here ? <dict> <key>Disabled</key> <false/> <...

svn stumbling blocks

I face a few problems when I use svn. Here is a list at some point in time, all my commands like svn commit, svn add, etc worked, but I did something so that none of them would work without running them as root user (sudo). what specific actions would cause this, and how to fix it? my other website created an images folder itself, and ...

How can I use subversion to deploy web applications?

We are a small team of 4 developers working on a web application. We use trac+svn on a shared server for version control and ticketing and we are happy and satisfied with this. The same shared server also hosts our web application. The application itself is a Perl CGI application that uses CGI::Application and a moderate number of standa...

How to programatically do file versioning with SVN and .NET?

We have a report generator. Daily, it writes its data into a excel file. For reasons of version controlling and file data safety, we need to alter this file, and commit the changes into a repository. Do you recommend any .net SVN API you've used? ...

Team Foundation / SubVersion - Who has how much contrribution in the repository?

Has anyone come across with something that tells who has how much contribution in the the given repository (SubVersion or Team Foundation Server) e-g say there are 100 lines of code in 2 files; out of which khurram has written 30 lines and jhon has written 70 lines...something using TFS' Annotation and/or SubVersion' Blame (on each file...

Fork and sync google code svn into github

How can i fork and keep in sync with an google code svn that i dont have write access to,into a github repos. I want to be able to develop own features in my git but also want to sync against the google code svn.to fetch fixes from google code project side. I know about git-svn and used it before to up and downstream to an svn repos i ha...

Searching the full-text of the files in the respository in svn?

Is there any way to search the full text of all the revisions (or just a specific revision) of a subversion repository? I mean I know that tools like Google Code search must do this somehow (or at least index the text), I was just wondering if there was any way to do this with just a subversion client. ...

Is a good idea to put all projects in the same trunk?

We understand the default and usually recommended svn repository organization, in case of having multiple projects, is something like this: root/projectA/(trunk, branches, tags) root/projectB/(trunk, branches, tags) ... Our projects have a lot of interdependence, and that would demand an extense use of svn:externals between them, cons...

Using Mercurial locally, only with Subversion server

We are using a Subversion server at my job for source control. I was thinking that rather than keeping up with my own branch, I would run Mercurial on my workstation, commit locally, and then commit to the Subversion trunk whenever I’m done with whatever feature I’m working on. From my understanding of DVCS this is theoretically possib...

How to get started deploying PHP applications from a subversion repository?

I've heard the phrase "deploying applications" which sounds much better/easier/more reliable than uploading individual changed files to a server, but I don't know where to begin. I have a Zend Framework application that is under version control (in a Subversion repository). How do I go about "deploying" my application? What should I do ...