Questions tagged [svn]

Use this tag for questions about SVN (Subversion), a centralized open-source revision control system distributed under the Apache License.

Apache Subversion

Apache Subversion (SVN) is a centralized version control system, available as free software under the .

When Subversion was first conceived in 2000, the design goal was to fix CVS. Since 2009, Subversion has been an Apache project.
See its own SVN repo in svn.apache.org or its mirror on GitHub.

Subversion can be used from the command line, but also has clients for , and . A popular client, which integrates into Windows-Explorer, is TortoiseSVN. A list of SVN clients with comparison can be found here.

References

The Subversion book is an excellent reference source, cite it in your SVN answers! Please use links to the latest stable release of the book (not to the nightly builds to avoid broken links).

Frequently-asked questions

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

26477 questions
13
votes
13 answers

How to keep SVN from updating a directory already in repository

This isn't, I don't think, a standard svn ignore question. I have a repository with a huge directory in it that I don't want. Because others using the repository do, I can't just delete it from the tree. BUT, I don't want to redownload this…
Kirby
  • 317
  • 1
  • 2
  • 11
13
votes
6 answers

Setting up Tortoise SVN Windows 7 hotkeys

How would one go about setting up some hotkeys for commonly used SVN actions such as diff? Currently to view diff, I have to select file(s), then right click, navigate to TortoiseSVN and then select Diff action. Quite a few steps for something used…
Sint
  • 1,463
  • 2
  • 20
  • 34
13
votes
6 answers

How is dvcs (git/mercurial) branching and merging support better than svn's?

Lots of articles on dvcs systems claim superior branching and merging support as one reason to move from svn to dvcs systems. How exactly do these systems do branching and merging differently that makes it better?
Samuel Neff
  • 67,422
  • 16
  • 123
  • 169
13
votes
6 answers

How can I have Subversion keep only the latest version of a file?

I have a large file in my repository that is not text-mergeable and that I do not need multiple-version control for (PPT for example). I would like to keep it on the repository for backup purposes and to share with multiple people, but I do not…
bsofman
  • 1,935
  • 2
  • 12
  • 7
13
votes
7 answers

What are some power commands every TortoiseSVN/Subversion user should know?

I've been using TortoiseSVN with Subversion for a while now. Its pretty easy to use and most of the time I just use the Update and Commit functions....and occasionally if I need to track down the author of a particular line of code I use Blame or…
mezoid
  • 26,370
  • 35
  • 104
  • 147
13
votes
2 answers

Subversion HTTPS password caching using GPG-Agent?

I am using the Subversion client (version 1.9.5 r1770682, installed from the default package repository) on a Debian Stretch machine, to which I only have SSH access. I am connecting to a Subversion repository via HTTPS and would like to avoid…
ngj
  • 610
  • 5
  • 17
13
votes
7 answers

SSL negotiation failed with svn

I am running a server that accepts https requests. I have generated my own certificate. When going to the site in firefox I get the unknown certificate error, but that's fine. This (I think) indicates that port forwarding and such works. I am trying…
Ori
  • 4,651
  • 9
  • 36
  • 39
13
votes
10 answers

Personal Version Controller

I'd like to know if there is any personal source controller, I'd like to have a repository on my machine without going through setting up a server, also I work with TeX files not any particular language and I'd like to have backups of my files the…
Mark
  • 9,893
  • 18
  • 55
  • 80
13
votes
4 answers

How to recover from svn hotcopy backups

Our current backup process is doing a SVN HOTCOPY every night, to a backup location on a different machine. Can I somehow recover from that backup and retain all revision history? Or do I need to use the svn dump/load? Thanks, Chandrajeet
chandrajeet
  • 8,593
  • 6
  • 21
  • 15
13
votes
3 answers

fatal: unable to update url base from redirection

$ git remote set-url origin https://demodev@servername.com/home/demodev/public_html/waqtpar.git` $ git push -u origin master` fatal: unable to update url base from redirection: asked for:…
Balaji R
  • 143
  • 1
  • 1
  • 7
13
votes
5 answers

How to upgrade the SVN version used by git-svn

I've been using git-svn and love it. But we just switched our repo to one that requires a svn version of 1.5.0 or greater. Currently, I've got this: triedsound-lm:android holmesj$ git svn --version git-svn version 1.7.3.1 (svn…
holmes
  • 568
  • 5
  • 16
13
votes
1 answer

Java Subversion libraries

I've been researching Java APIs for Subversion (SVN). It seems there are 3 available: JavaHL - part of the SVN project. Provides a relatively low-level API svnClientAdapter - part of the Subclipse project. Provides a relatively high-level…
Dónal
  • 176,670
  • 166
  • 541
  • 787
13
votes
5 answers

svn: Can't create directory '/subversion/main/db/transactions/0-1.txn': Permission denied

I created a local subversion directory and I'm having problems. I tried checking in my first file with the following command: svn ci TestCommenterParseFilter.java and I got the following error message svn: Commit failed (details follow): svn:…
user51189
  • 201
  • 1
  • 4
  • 5
13
votes
3 answers

SVN post commit: Who is the user that committed?

In an SVN post commit hook, how can I get the user who executed the commit?
Blagomir
  • 253
  • 2
  • 9
13
votes
1 answer

Compare not working in Eclipse Neon

I am (finally) trying to upgrade to Eclipse Neon from Mars.2. After installing SVN support and the SVNKit (1.8.14) connector, I am able to access my repository. However Compare is not working. If I right click a file that I have modified, and…
Timothy Vogel
  • 1,119
  • 1
  • 16
  • 28
1 2 3
99
100