Questions tagged [svn]

Subversion is a centralized open-source revision control system, founded by CollabNet Inc. and maintained by The Apache Software Foundation.

Apache Subversion (abbreviated SVN) is a free/open source version control system.

When Subversion was first conceived in 2000, the design goal was to fix CVS. It is now the most popular version control system. Since 2009, Subversion has been an Apache project, hosted at subversion.apache.org.

Apache Subversion has a GUI clients for Windows, Linux and OSX that provide better user-experience with source-control and make it much easier to understand the basic concepts of version-control for beginners.

Alternative GUI clients list offered by TortoiseSVN. A list with SVN GUI clients with comparison can be found here.


References

The Subversion book is an excellent reference - source it in your SVN answers! Please use links (URLs) to the latest stable release of the book (links to the nightly builds will break when sections in the book are reorganized).


Frequently-asked questions

If you are new to Apache Subversion or version-control in general please take some time to read the SVNBook. The must-read articles are:

740 questions
113
votes
2 answers

Ignore .svn when doing `diff -r`

diff has an option --recursive (-r) to do a comparison between two directories (the files inside them). Is there a way to make diff ignore certain sub-directories (eg: .svn)? $ diff -r src1/ src2/
99
votes
12 answers

Where is SVN on OS X Mountain Lion?

I upgraded to OS X Mountain Lion and found out SVN is no longer present. I use Netbeans 6.9.1 in conjunction with Apache's SVN. How can I get it back and working?
Jake
  • 1,107
59
votes
1 answer

How to use Terminal to delete all .svn folders recursively?

What command can I type into the Terminal so that I can delete all .svn folders within a folder (and from all subdirectories) but not delete anything else?
Mikey
  • 1,691
43
votes
7 answers

Want to delete revisions from my SVN repository

The latest revisions in my code repo has been corrupted and has destabilized my app. I want to revert to an earlier revision. But I don't want to simply use 'revert' on my working copy; I actually want to delete my head revision and several…
Chris Barnhill
26
votes
6 answers

Automatically Disable Windows 7 From Indexing .svn metadata

There is a known issue with SVN repositories and the windows indexing service fighting over .svn metadata files. Here for more details. How can we set it up so there are automatically no problems having subversion repositories indexed by windows…
23
votes
7 answers

Best SVN interface for Linux?

What is the best SVN GUI interface program for Linux? I am new to Linux from being a Windows base. For Windows I use Tortoise SVN and I need to know what is the Linux version.
22
votes
2 answers

Prevent tsvncache from running

I use TortoiseSVN on Windows Xp. But there's a process called tsvncache.exe which always runs in the background and specially locks USB drives.how do I prevent tsvncache from running? Do I need to disable the entire Tortoise shell extension.
iceman
  • 2,510
19
votes
6 answers

How to repair damaged repository (which has a centralized .svn directory)?

I recently upgraded my TortoiseSVN installation to version 1.7.1. This forced me to upgrade my working copy as well. The upgrade removed all (but one) of the .svn directories from all subdirectories leaving only one in the root. Now out of the blue…
19
votes
6 answers

Subversion: How to compare differences between incoming changes?

I would like to see the changes that my co-workers have made before I accept the incoming changes. So I start by getting the status svn st -u ...which tells me that I've got an incoming change * 9803 incomingChanges.html M 9803 …
Andrew
  • 15,494
17
votes
5 answers

Is there a `git cp` command that can copy only tracked files, like `svn cp`?

Unlike Subversion, git has no cp command. For files, this is not a problem: if I want to copy a file a to b, I can just do: cp -a a b git add b However, say I want to copy a directory d to give it another name e. I can still do the same thing.…
a3nm
  • 1,335
16
votes
1 answer

How do you get Eclipse's built-in diff tool to ignore differences in whitespace?

I'm working on a large codebase that's been touched by many hands. As I work through bugs, I've been converting the source to be more readable which involves a lot of minor changes in indentation depth. Unfortunately this makes all the changes…
15
votes
5 answers

Do symbolic link files survive SVN?

Let's say I create a symbolic link file inside an SVN managed path, commit the path to SVN, and later checkout the path. Will the symbolic link file survive? If the symbolic link file is made up of a relative path, will it work "everywhere" a…
jldupont
  • 6,864
15
votes
2 answers

How to dump only a certain part of SVN repository?

How to you move a part of an SVN repository into a new repository? To move the contents of a complete SVN repository into a new repository, one has to dump the old repository first: svnadmin dump /path/to/repository > repository-name.dmp and then…
dehmann
  • 2,333
14
votes
15 answers

Which Subversion client should I use?

I want to use Subversion source control for a PHP website. It is installed on the webspace I rent: hooray! On the website of Subversion is a huge list of client-apps: http://subversion.tigris.org/links.html#all-clients Which one can be recommended?…
Natrium
  • 448
14
votes
5 answers

How to change subversion working copy UUID?

I've recently updated Subversion repositories from an old 1.2.3 version to 1.6.0 via svnadmin dump/load. The old repositories all used the same UUID (repositories were created using by copying a template repository). I've changed the UUID on a…
Ioan
  • 571
1
2 3
49 50