Questions tagged [svn]

The acronym SVN stands for Subversion, a very common and popular Version Control System.

The acronym SVN stands for Subversion, a very common and popular Version Control System.

The subversion book is an excellent reference, source it in your SVN answers! Please link to the latest stable release of the book. Links to the nightly build will eventually break when sections in the book are reorganized.

1337 questions
10
votes
4 answers

How to resolve "svn: Can't find a temporary directory: Internal error"?

I have already googled the message, and I have plenty of disk space available on the SVN server (it's about 4% usage of 150 GB). I have noticed that when I try echo $TMPDIR at the command prompt on the SVN server I get nothing. What is making this a…
HorusKol
  • 751
  • 5
  • 13
  • 31
10
votes
5 answers

Safe to have /.svn/ folders on live site? (How to remove them but retain svn update capability?)

I'm doing svn update to update the code for my php website, but it leaves .svn/ folders all over. I think its dangerous to leave those files publically readable, but its very easy to update the system. Is there a way to use svn update to update the…
siliconpi
  • 1,807
  • 6
  • 32
  • 46
10
votes
7 answers

Where to maintain central source repository?

What is the industry best practice regarding securing access to source code? I am thinking SSL only connections via apache allowed over to our server on an obscure port that doesn't conflict with anything else. The thing that bothers me is storing…
user59587
10
votes
2 answers

Best way to create an SVN-Mirror?

I am currently looking into the best way to set up an SVN mirror. I currently see three possibilities all with their own drawbacks: Have an SVN post-commit-Hook that is blocking and syncing via svnsync. The problem here is obviously, that the…
roesslerj
  • 287
  • 1
  • 4
  • 11
9
votes
3 answers

What are your tricks for optimizing your Subversion configuration?

For a Linux or Windows system, what tricks do you do to optimize your Subversion server? The following are my current tricks for a Linux system serving over Apache with HTTPS and backed by Active Directory using LDAP authentication. Enabling…
Scott Markwell
  • 742
  • 1
  • 6
  • 13
9
votes
1 answer

Mixing Subversion "SVNParentPath" and per-repository configurations?

Given a typical Subversion/Apache configuration using SVNParentPath, with repositories hosted under /svn/ like this: DAV svn SVNParentPath /srv/source/svn/repos SVNReposName "Subversion Repository" …
larsks
  • 43,623
  • 14
  • 121
  • 180
9
votes
3 answers

How to upgrade v2 to v3 FSFS subversion filesystem

Firstly, I am trying to reintegrate a branch with the trunk (using TortoiseSVN) but I am getting the error message "Querying merge info requires version 3 of the FSFS filesystem schema; filesystem E:/MyRepository/ uses only version 2". Was it really…
cbp
  • 299
  • 1
  • 3
  • 12
9
votes
2 answers

How do I delete a svn repository?

So, I created a repository like so: svnadmin create /path/to/repository What's the equivalent for deleting? I couldn't find it.
Strawberry
  • 1,132
  • 4
  • 15
  • 27
9
votes
2 answers

Linux & SVN: How to remove all versioned files but KEEP directory structure, ignore .svn dirs?

I want to remove all the versioned files from my repository, but KEEP the versioned directory structure. Obviously I want to leave all the .svn directories untouched. In other words, I want to completely empty a working copy's directory structure…
Brian Lacy
  • 1,113
  • 4
  • 15
  • 23
9
votes
5 answers

SVN+SSH Security

I use snv+ssh with key based authentication. Right now in order for any of my svn users to access the repository through Subversion, I must set the repo files to be readable and writable on the filesystem to those users. I want to prevent the users…
Brad Smith
  • 195
  • 1
  • 4
9
votes
3 answers

How/when to create trunk, branches and tags directories in a new subversion repository?

When's the best time to create the trunk, branches and tags directories? I have executed svnadmin create --fs-type fsfs /home/firefli/web/projects/subversion and have myself a blank repo. If I create, say, the trunk directory using svn mkdir…
Matt
  • 322
  • 2
  • 3
  • 12
8
votes
2 answers

Processes hanging indefinitely when reading from network connections

An update to the below: I have experienced a similar problem on an unrelated script, on a Debian virtual machine in a different datacentre. This looks suspiciously like the issue described here (and like the person asking that question, I do not…
8
votes
3 answers

Do old package versions in CentOS mean that they do not have security fixes?

We asked our admin to update SVN on our CentOS 6.5 server. He did so and the result was SVN 1.6.11. However the current version of SVN is 1.8.9. I know the CentOS yum repository is not always up-to-date. But in that case I am confused: SVN 1.6.x is…
Silicomancer
  • 182
  • 7
8
votes
4 answers

recreating svn repository

after a major server fault, svn repository was destroyed and my working version is most current one, what is the way to recreate svn repository from my working version? after installing svn on a new server and trying at my working copy svn switch…
Pavel K.
  • 297
  • 3
  • 8
8
votes
3 answers

Best practices for backing up databases

I asked this on stackoverflow, but someone pointed out it would be better to ask here. Let's assume Subversion and MySQL on a RAID NAS. What are the best practices for backing up data? I was thinking putting mysqldumps under subversionn control, and…
Matthew
  • 273
  • 1
  • 2
  • 10
1 2
3
89 90