Questions tagged [svn]
The acronym SVN stands for Subversion, a very common and popular Version Control System.
1,336
questions
101
votes
3
answers
177k
views
How to get the url of the current svn repo?
I have 2 svn checkouts that someone setup for me. Now I need to check these same files on another computer, but since I didn't check them out initially I don't know the urls to use when running the ...
65
votes
12
answers
106k
views
Subversion error: (405 Method Not Allowed) in response to MKCOL
I am getting the following error while trying to commit a new directory addition.
svn: Commit failed (details follow):
svn: Server sent unexpected return value (405 Method Not Allowed) in response to ...
50
votes
3
answers
53k
views
Add directory structure to SVN, without files
Is there a way to add a directory structure to an SVN repository without adding the files contained in the folders?
39
votes
4
answers
108k
views
BASH Scripting, su to www-data for single command
I am working on automating the creation of subversion repositories and associated websites as described in this blog post I wrote. I am running into issues right around the part where I su to the www-...
29
votes
1
answer
17k
views
Difference between the format and db/format files in a Subversion repository
What is the difference between the following two files on an SVN server (ie not in a checked out repository)?
format
db/format
In our repositories the contents of the first is 5 while the contents ...
24
votes
6
answers
26k
views
How can I set proxy for subversion with ssh tunnel?
I want to check out/update the code via proxy since my local connection is slow. I setup ssh tunnel : ssh -D 8090 [email protected]
to forward all the packets to my localhost:8090.
How can I set up ...
23
votes
12
answers
56k
views
Subversion error: Repository moved permanently to please relocate
I've set up subversion and apache on my server.
If I browse to it through my webbrowser it works fine (http://svn.host.com/reposname).
However, if I do a checkout on my machine I get the following ...
22
votes
4
answers
68k
views
How do you accept an SSL certificate through the SVN command line?
Is there an command line option to auto accept a SSL certificate permanently using the SVN commandline in a way that avoids the prompt?
20
votes
2
answers
10k
views
subversion load fails with "no such revision"
I'm trying to learn how to migrate a Subversion repo, and am running into an issue that doesn't make sense to me. I've used svndumpfilter to split out a sub-project, and have removed some path ...
18
votes
2
answers
45k
views
Is there a global .bash_profile for all users on a system?
So I stumbled across svn color and thought it was something useful all our devs would appreciate. The read me for this says to put some code in your ~/.bash_profile, but I'm wondering how I might ...
18
votes
5
answers
47k
views
Upgrade Subversion 1.6 to 1.7 on CentOS? (can't find yum repository)
I want to upgrade my SVN Server from 1.6 to 1.7. Unfortunately I can't find anything on the internet how to do this with yum. I have checked rpmforge-extras but it has only svn 1.6 and not 1.7
I ...
17
votes
3
answers
15k
views
Use git for multiple server configuration files
We have migrated a lot of source code over to git and are very happy with our current solution. We would like to have our server configuration files versioned on the same system, but there are a few ...
17
votes
4
answers
16k
views
I get Killed by signal 15. when I'm using svn
I'm using svn+ssh and I see a number of:
Killed by signal 15.
during a svn up.
Any ideas way?
16
votes
7
answers
32k
views
What ways there are to backup repositories for Windows VisualSVN?
At this moment we are using Visual SVN and we are backing up the entire repositories directory for visual svn. This backs up the entire data for each repository inside our svn engine. I am curious ...
14
votes
5
answers
75k
views
SVN: Where is my repository?
I'm trying to backup my SVN respository.
My problem: I forgot where I put my repository on the hard disk.
How can I find this?
FYI: I'm using TortoiseSVN if that helps.
14
votes
3
answers
3k
views
What should I consider to secure SVN on Windows? [closed]
Currently I am using VisualSVN Server and it's only accessible on my home network. Eventually there will be others accessing it, but for now it's just me and I would like to be able to go down to the ...
13
votes
8
answers
34k
views
Difference between using crontab and /etc/cron.hourly,daily,weekly
I have a scheduled script that does an hourly svnsync backup of our Subversion repositories. I was running it from an entry in the root crontab without problems, but decided I'd like to run it from /...
13
votes
2
answers
40k
views
svn: E170000: Unrecognized URL scheme for httpxxxx
Looks like the custom built svn doesn't work for http URLs. After searching online, I understood that I need to install neon libraries which I did. After installing neon when i am building the ...
13
votes
2
answers
27k
views
Add folder to SVN repository without checking out or committing?
When using something like TortoiseSVN, you can use it's repo-browser to browse repositories and do stuff. One thing you can do is create directories in the repository. Normally you would have to ...
13
votes
6
answers
24k
views
TortoiseSVN missing file in update
We have occasionally had a problem with TortoiseSVN (I assume it's Tortoise and not our SVN repository), where a file will be checked in to the repository (doing a repo-browser you can see the files ...
13
votes
2
answers
12k
views
apache auth: combination of LDAP and htpasswd
We're using Apache with mod_svn to serve the subversion repo. Apache is hooked to an LDAP server so all users can use their domain passwords.
For the build machine to be able to checkout, I want to ...
12
votes
3
answers
4k
views
How can I switch an existing set of Subversion repositories to use ActiveDirectory? (svnserve/windows)
I have a set of private Subversion repositories on a Windows Server 2003 box which developers access via SVNServe over the svn:// protocol. Currently we have been using the authz and passwd files for ...
12
votes
2
answers
982
views
improve our deployment strategy
We have an ecommerce app that we develop at our company. Its a reasonably standard LAMP application that we have been developing on and off for about 3 years. We develop the application on a testing ...
11
votes
7
answers
15k
views
Best way to do Subversion backups?
What is the best way to do Subversion backups (on a Debian based server).
Is it to use svnadmin?
svnadmin dump /path/to/reponame > reponame.dump
Or maybe just to tar the dir where the ...
11
votes
3
answers
23k
views
git vs Subversion - pros and cons [closed]
I have been a user of SVN for many years now and I can't say I am totally happy about it.
Few days ago my partner asked me to take a look at git saying that "it has better performance, easier merging ...
11
votes
1
answer
11k
views
Stopping Microsoft Office 2010 from integrating with Subversion server as if it's Sharepoint
We have an Apache Subversion server that we store (amongst other things) all of our documentation on. We have a lot of Word, Excel, PDF etc. documents in svn, and all of our users use TortoiseSVN as ...
11
votes
5
answers
34k
views
SVN client authentication error
I have the following error when ever I try to connect to a SVN server on my network:
Could not authenticate to server: rejected Basic challenge
Can anyone help?
10
votes
5
answers
2k
views
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 ...
10
votes
7
answers
651
views
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 ...
10
votes
4
answers
14k
views
Subversion path differences for svn and svn+ssh
[02:48][root@server:~] ps ax | grep svn
23986 ? Ss 0:00 /usr/bin/svnserve -d -r /srv/svn
As you see from arguments my svn root dir is /srv/svn.
Now, some magic from remote machine...
...
10
votes
2
answers
41k
views
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.
10
votes
5
answers
5k
views
E-mail notifications of SVN commits [closed]
Do you have any recommendations for a relatively turn-key SVN checkin notification system?
I'm looking for something that allows a summary of repository files changed and the contents of the actual ...
10
votes
3
answers
9k
views
"SSL error parse tlsext" on large commit to SVN via Apache, Gentoo
This happens only on large commit (resulting in a failed commit):
Revelant section from virtual host config in Apache
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
&...
10
votes
4
answers
39k
views
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 ...
10
votes
2
answers
7k
views
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 ...
9
votes
5
answers
3k
views
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 ...
9
votes
3
answers
17k
views
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:/...
9
votes
2
answers
4k
views
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 ...
9
votes
3
answers
22k
views
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,...
9
votes
3
answers
7k
views
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 ...
9
votes
1
answer
5k
views
Mixing Subversion "SVNParentPath" and per-repository configurations?
Given a typical Subversion/Apache configuration using SVNParentPath, with repositories hosted
under /svn/ like this:
<Location /svn>
DAV svn
SVNParentPath /srv/source/svn/repos
...
8
votes
7
answers
3k
views
Ignoring .svn directories under IIS
We are a web development organization and have recently moved to using subversion for our version control system. Since executing an update is so much faster than doing an export and copying over the ...
8
votes
2
answers
9k
views
Local SVN repository to git
I am in the need of converting a local SVN repository to GIT. I know how to convert a remote SVN repository to git, however, I only have the local repositories; they are no longer hosted. How would ...
8
votes
3
answers
1k
views
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 ...
8
votes
3
answers
956
views
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-...
8
votes
4
answers
12k
views
Freeing up space in my SVN repository
I have an SVN repository hosted on a freemium site with a maximum repository size. As I approach this capacity I am aware of files I've checked in that I know I can remove permanently to free up disk ...
8
votes
9
answers
17k
views
Simple web-frontend for remote svn administration? [closed]
We run a SVN repository. Some of our more advanced users need to be able to perform some SVN administration without relying on the system administrator.
They need to be able to do things like create ...
8
votes
1
answer
1k
views
SVN inside another SVN
I have simple project that is in SVN and everything works fine.
I want to use code from another SVN server in folder inside this simple project.
How can I do this?
I want to have the ability to ...
8
votes
5
answers
23k
views
How Do I Restrict Repository Access via WebSVN?
I have multiple subversion repositories which are served up through Apache 2.2 and WebDAV. They are all located in a central place, and I used this debian-administration.org article as the basis (I ...
8
votes
3
answers
15k
views
How do I add LDAP users to roles in Subversion Edge's web console?
My LDAP users aren't showing up in Subversion Edge's web console. How can I add them to existing roles if they don't show up?