svn

How to display SVN revision on web site dynamically?

My web site is a checkouted version of SVN repo. I mean .svn folders are placed on web server. I don't use web publishing. And I want to display current project revision (whole web site) in footer. How can I do that? If I were using web publishing, I could determine revision on build/publish and write it as static html. So how to get ...

two programmers working on the same code

Hi, I'm working on some PHP code with a partner, and were both running a LAMP (or in my case - MAMP) server locally on our machines. Is there some way we can both work simultaneously on the same piece of code? This would require both our IDE's (I use Zend Studio, he uses PHPed) and our MySQL server to update when any change is done. ...

Visual Studio & SubVersion : What about Machine Specific Files

As an example we have a Unit Test Project with an app.config file. The app.config file is configured to work on our build server. But if we want to run our tests locally (with local database) we have to change the app.config...everytime... is there a way to never alter the app.config but to have another file that overrides the app.config...

post commit hook to update a file under version

Hello I have made a file called version.ini that is under version control (/trunk/version.ini) i now wanted to make a post commit hook to update that file with the latest version. But i dont know what command can do that. I know i have this params: #!/bin/sh REPOS = "$1" REV = "$2" But how can i replace the content of that file wi...

Source control alternatives to TortoiseSVN for a one man developer, only local usage

I've never used source control before (always used renaming files and other methods), so I was looking around for a relatively simple solution, to start me off with. I was looking for something simple with a GUI interface (along with a command line one) relatively used has books on the subject (most important) can take Word files along...

Netbeans subversion form error

Well i'm having a problem which appeared i think when i rollbacked a .form file from subversion. The NB 6.1 can open the .form but when i try to save the file the IDE throws an out of memory exception. In NB 6.5 i can open and save the file but the IDE is behaving very strange:every 1 min or so freezes for 20 sec and then unfreezes. O...

How do I browse an old revision of a subversion repository through the web view?

I know how to browse my project's subversion repository through its web front-end, but it seems that I can only browse the latest revision of the trunk. Is there a way to browse an older revision of the trunk through the web-ui? I know how to do this from the command-line, but I need to know how to do this using URL's, because I'm embe...

Query SVN repository from ASP.NET to get revision history

I want to query my SVN repository from an ASP.NET application to list the top XX latest revisions of my application. What's the best way to do this? execute a shell execute command against the svn command line app? or can i access it via https? ...

Build servers and source control repositories

We're using CruiseControl.NET for our build server and Subversion for source control. Our IT guy suggested putting these together on one virtual machine. For some reason that smells funny to me, but I can't explain why. It seems like the source control server is a lot less "transient" of a server than a build server. Does anyone else...

Similar SVN Server software for OS X that's like Visual SVN

My design-house client needs version control to keep all their new source code I'm writing for them. Subversion seems like a good pick, All their servers are OSX. Does anyone know of a good OSX server manager for SVN similar to visual SVN for Windows? The reason i'm looking for one is because I get the feeling their IT guy is apprehen...

Recover files from old Subversion backup

I have a tar backup from an old subversion server which has long since died. All the source code which had been managed by this server is legacy code which will never be needed again ... except this one project. The tar file is full of little directories like "conf", "dav", "db"... Is there any way of extracting the final source code...

Remove subversion sourcecontrol from a project (visual studio/tortoiseSVN)

I am implementing the use of Subversion as a source control tool for my projects, but made some mistakes when determining what structure to use. So I added version control to some folders (projects), that I would like to undo. But I can't seem to find a way to do that? Do I have to copy the folder, delete the original and add source con...

How to get revision number from subversion using maven?

I'd like to put revision number on main page of webapp, how can i do that using maven? P.S. Its two part question, how to get revision number and how to write it into selected file in the project. ...

Presenting code on my personal website

I would like to develop a portfolio of code for prospective employers to browse through. The interface used by sites like assembla looks promising; how can I set up something similar on my personal server? I'm also open to suggestions and other methods of presentation such as a directory listing, but the web interface looks superior. Th...

SVN management on a project that uses absolute paths.

I've heard before that including project and workspace/solution files in source control is generally bad practice anyhow but I wanted to get feedback on the best way to handle this situation. My work has requested I set up a source control service for my department (which i've been asking for since day 1, 3 years ago). My biggest hurdl...

Add Subversion revision to included Javascript and CSS files

I'm looking adding Subversion's revision number to the name of each .js file we include, so whenever the .js file is updated, the browsers will automatically fetch the new version. I believe Stackoverflow does this, but I wonder how. Is this part of the release procedure? Any hints on how to achieve this using Subversion tools? ...

Visual SVN Specify URL with new port

Our SVN server was initially setup to run on port 443, we had to change it to run on port 8443 because it was causing conflicts with IIS. My question is how do I change the repository URL of all my projects to point to the new address? ...

Can't commit to Subversion from NetBeans

When I change some interface things in Java, like the contents of a menu item, and save them, the commit option does not enable. NetBeans does not know that changes have been produced so I cannot commit them. How can I commit them? ...

How to apply SVN diff to Git?

I have my projects in 2 repositories. One under SVN and one under Git. Whenever I change something in SVN I want to do the same thing to the Git repository. Say I make a change to SVN repository, producing revision 125. How would I apply these same changes to my Git repository (assuming my Git repository is up to date with revision 124)...

How well does SVN work for Office 2007 documents?

I'm considering using our SVN repository to manage all our documents. We mostly use Office 2007 (docx, xlsx) files. I thought the x was for xml but opening these files in notepad reveals a binary format. I'm looking to find out what people's experience is with using svn to manage these kinds of files. Someone told me that SVN isn't...