Questions tagged [svn]
Subversion is a centralized open-source revision control system, founded by CollabNet Inc. and maintained by The Apache Software Foundation.
739
questions
111
votes
2
answers
47k
views
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
110k
views
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?
59
votes
1
answer
60k
views
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?
43
votes
7
answers
107k
views
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 ...
26
votes
6
answers
7k
views
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 ...
23
votes
7
answers
110k
views
Best SVN interface for Linux? [closed]
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
8k
views
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 ...
19
votes
6
answers
58k
views
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 ...
19
votes
6
answers
21k
views
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
...
15
votes
5
answers
27k
views
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 ...
15
votes
2
answers
23k
views
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 /...
14
votes
15
answers
19k
views
Which Subversion client should I use? [closed]
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/...
14
votes
5
answers
23k
views
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 ...
14
votes
1
answer
10k
views
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 ...
14
votes
3
answers
5k
views
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 ...
14
votes
1
answer
51k
views
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 ...
13
votes
7
answers
16k
views
SVN directly to tar
Is there a way to directly tar the latest version of an SVN folder without the SVN hidden files? I would like to create a tar archive without the SVN files. I know you can get the latest with the SVN ...
13
votes
5
answers
22k
views
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 ...
12
votes
6
answers
10k
views
How can I solve this error I get when I commit changes on an SVN repository from the Ubuntu terminal?
When I commit changes on a SVN repository, I always run into the following problem in the terminal in Ubuntu:
Error reading /home/ssylee/.nano_history: Permission denied
Any ideas how to solve it?
11
votes
4
answers
13k
views
Subversion: Document Control for Non-Programmers?
I work for a small company in the Mechanical Engineering sector. Nobody here knows a thing about coding or databasing except for myself, and I know little more than basic SQL, some C#, some VBA.
I'm ...
11
votes
1
answer
4k
views
What is the difference between git svn init + fetch and git svn clone?
While trying to use locally Git at my workplace where we use SVN I was searching a lot for how to set everything up. From what I found it seems there are two approaches to the problem, either:
git ...
11
votes
5
answers
29k
views
Is it possible to analyze the size of a SubVersion repository?
Is it possible to know how much disk space each project in a SubVersion repository is using?
I can check out a working copy of each project and look at the size each project takes up, but I don't ...
10
votes
8
answers
35k
views
How can I provide a SSH password to SVN on the command line?
In my case, I want to do a SVN checkout:
svn co svn+ssh://10.106.191.164/home/svn/shproject
However, I want to have the password in that one line, so that it doesn't pop up.
10
votes
5
answers
23k
views
List of all users who committed to a SVN repository
For a given SVN repository I need to determine a list of all users who ever committed anything to that repository. This repository is not the only one on the SVN server, but the list should be ...
10
votes
5
answers
18k
views
PuTTY authentication equivalent on Mac OS X?
On my Windows development machine, I use Pageant with a secret key to authenticate with an SVN server.
I want to know: What's the equivalent Mac process for doing this? Pageant isn't ported, how do I ...
10
votes
1
answer
14k
views
ubuntu - install subversion from source - missing APR
Because I need a bug fix which is not available in Ubuntu's repository version of subversion, I am installing it from source.
On running ./configure, I get an error:
configure: WARNING: APR not ...
10
votes
1
answer
9k
views
Change name of folder in subversion *without* a checkout
So, there is a folder in a subversion repository which is incorrectly named. I have been tasked with renaming it. Unfortunately, the repository is very large which means it takes quite a bit of time ...
10
votes
2
answers
8k
views
Visual Studio - Using GIT and SVN
Work uses SVN. I want to use GIT for private use. I was also exploring TFS, but it doesn't seem to cooperate with multiple collections, so I stopped looking into it.
Currently I use AnkhSVN. I want ...
9
votes
1
answer
26k
views
How can I use SVN through a proxy?
How can I use Subversion through a proxy? Currently the only way for my to connect to the internet through a proxy, so a proxy has to be specified.
9
votes
2
answers
4k
views
Finding all directories in a repository with svn property: svn-ignore
How can I find all the directories in my svn repository with the property of svn:ignore?
9
votes
2
answers
5k
views
Use Meld instead of Kompare in KdeSVN
i tried using Meld as external diff in KdeSVN as meld -on - (settings>configure kdesvn>diff&merge) but Meld complains that the usage is wrong:
meld: error: no such option: -o
Finished
Usage:
...
9
votes
1
answer
4k
views
How do I resolve the git-svn error 'refs/remotes/git-svn$: command returned error: 1'?
In the process of converting a Subversion repository to git, you might encounter the following error while converting svn:ignore settings to .gitignore:
config --get svn-remote.svn.fetch :refs/...
9
votes
2
answers
31k
views
Checkout from svn repository over ssh
I'd really like to know how to checkout a SVN repository from a remote machine that is only serving on the svn protocol (so no WebDAV with Apache etc.) over an SSH connection.
Can someone tell me how ...
9
votes
3
answers
4k
views
"git grep" equivalent in Subversion?
I'm a big fan of git grep. Does an equivalent exist in Subversion?
9
votes
5
answers
2k
views
svn diff including annotate/blame-alike information of when changes were made by who
Can you add annotate/blame-alike information to svn diff, so that for every changed line it includes which user and revision changed that line?
For example, an annotate-diff comparing revisions 8-10 ...
8
votes
2
answers
1k
views
Macport upgrade fails with subversion-perlbindings conflict
I'm trying to do a port upgrade outdated, but it stops on a package conflict that I'm not able to fix.
Does anyone know how to fix this problem?
sudo port upgrade outdated
---> Computing ...
8
votes
5
answers
25k
views
Multiple web servers behind a single firewall
I have multiple web servers behind a single firewall (SVN, Exchange, etc.). I want to be able to access all of the various servers remotely, but since they are All using the same port (the standard ...
8
votes
7
answers
2k
views
concurrent word document collaboration
My colleagues and I are working on a large specification, in Microsoft Word
For the first few weeks, we all worked on separate pieces, and collated these together to form a single specification.
Now,...
8
votes
4
answers
5k
views
Problem with SVN filename encoding on Mac OS X
I have some filename with some Unicode character in it. All filenames on Mac OS X are UTF8 encoded. Also $LANG is set to en_US.UTF-8.
However, it seems svn has some problems with that:
az@ip212 1054 ...
8
votes
2
answers
8k
views
SVN log messages in reverse order
I'm trying to look at svn commit messages, but because the order is reversed I don't know which revision is last nor which revision I want to look at.
My question is how do you show the log from the ...
8
votes
2
answers
18k
views
What's the best way to store an encrypted svn password on Ubuntu Server?
Hullo,
I have Ubuntu Server running a subversion server. I'm running the client on the same machine through SSH, and I'd like the svn client to remember my password, but not to store it as plaintext. ...
7
votes
3
answers
4k
views
How to Recursively Remove .svn Directories?
How do I recursively delete all .svn directories, starting with the directory I am in?
7
votes
2
answers
16k
views
TortoiseSVN/TortoisePlink prompts for "login as" on any working copy operation
My work desktop PC has just been refreshed and now I'm using Windows 7 64bit.
Seeing as my employer uses Ubuntu development servers with svn 1.5, I've installed PuTTY, Pageant and TortoiseSVN 1.5.10-...
7
votes
8
answers
7k
views
Recommendations for USB flash drive fast at writing small files [closed]
I want a drive that I can be used as my work drive, storing a Subversion repo and sandbox for a small project. I'd also like it to be able to store a DVD rip. At the moment I've got a Super Talent ...
7
votes
2
answers
4k
views
svn revert a single property on a directory?
How can I revert one of several properties on a directory from svn command line?
My svn trunk has a property svn:externals to import an external repo.
/trunk
svn:external = /external/trunk
When I ...
7
votes
4
answers
7k
views
SVN Getting all revisions of a file
I have a moderate size repository (around 2500 versions) from a project I've been running in the past 3 years. There is a particular file (let's call it foo.xml) there which I now want to analyse its ...
7
votes
1
answer
35k
views
How to use VisualSVN Server and TortoiseSVN client
I will soon start working on a project and the source code is on a remote location. However, I have got the source code on my C drive in a folder. I have VisualSVN server and TortoiseSVN client on my ...
7
votes
2
answers
16k
views
SVN/Tortoise Always Makes Files Readonly
Whenever I do a checkout/update on my SVN project using Tortoise the files all get set to read-only. Is there an option to stop this? I have 1 particular project where I need any checkouts/updates to ...
6
votes
2
answers
16k
views
git-svn pass password on command-line
Is it possible to pass the SVN password on the command-line or in a text file? I would like to run git-svn via a script?
I know that the username can be passed on the command-line, but is it ...
6
votes
4
answers
22k
views
Which is the best and simplest Windows Subversion client I can install to get the Google Client Library for PHP?
My operating system is Windows 7.
The google-api-php-client is made available on GitHub, and can be downloaded with Subversion.
The documentation provides the exact command line command to download ...