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:

738 questions
111
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/
Sridhar Ratnakumar
  • 4,759
  • 10
  • 43
  • 56
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
  • 1
  • 8
  • 7
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,651
  • 2
  • 22
  • 27
40
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.
David Basarab
  • 1,017
  • 2
  • 12
  • 12
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,432
  • 16
  • 50
  • 76
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…
Heinrich Ulbricht
  • 396
  • 1
  • 4
  • 11
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
  • 14,554
  • 30
  • 70
  • 82
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,604
  • 14
  • 38
  • 47
14
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…
Conrad.Dean
  • 868
  • 7
  • 15
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
  • 1
  • 5
  • 11
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
  • 511
  • 2
  • 5
  • 14
14
votes
1 answer

How can I make subversion reset the stored passwords/users and remember my authentication credentials?

Background: I used to have everything working just fine on my fresh install: $ svn co https://domain:443/ test1 Error validating server certificate for 'https://domain:443': - The certificate is not issued by a trusted authority. Use the …
Nicolas Dumazet
  • 642
  • 2
  • 6
  • 12
14
votes
3 answers

How to find who deleted a line from a file in a SVN repository?

I work on a very large project (10000+ versions) and sometimes it happened that I need to know who of the other users deleted some line in a file. Is there a way to do that that? I can do svn blame with revision number to check if a line exists in…
Ivan Petrushev
  • 1,719
  • 4
  • 16
  • 28
1
2 3
49 50