svn interview questions
Top svn frequently asked interview questions
I can't seem to get the icons to display under Windows 7 and I really miss this from Windows XP.
How can it be fixed?
Source: (StackOverflow)
I've heard a few places that one of the main ways distributed version control systems shine, is much better merging than traditional tools like SVN.
Is this actually due to inherent differences in how the two systems work, or do specific DVCS implementations like Git/Mercurial just have cleverer merging algorithms than SVN?
Source: (StackOverflow)
How do I ignore files in Subversion?
Also, how do I find files which are not under version control?
Source: (StackOverflow)
I want to checkout a specific revision of a folder in Subversion using the command line.
I don't see an option for specifying the revision number in TortoiseProc.exe
,
TortoiseProc.exe /command:checkout <url>
How do I get the revision I want? Is TortoiseProc.exe
the right tool for what I want to do?
Source: (StackOverflow)
Which eclipse files is it appropriate to put under source control, aside from the sources obviously. In my project, specifically, I'm wondering about:
.metadata/*
project-dir/.project
project-dir/.classpath
project-dir/.settings/*
If there are any of these for which is depends, please explain your guidelines.
Source: (StackOverflow)
SVN in Eclipse is spread into 2 camps. The SVN people have developed a plugin called Subclipse. The Eclipse people have a plugin called Subversive. Broadly speaking they both do the same things. What are the advantages and disadvantages of each?
Source: (StackOverflow)
I've been attempting move a directory structure from one location to another in Subversion, but I get an Item '*' is out of date
commit error.
I have the latest version checked out (so far as I can tell). svn st -u
turns up no differences other than the mv commands.
Source: (StackOverflow)
I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent add/delete operations. Using Repo Browser works fine except that your code will be hanging in a broken state until you get any supporting changes checked in afterwards (like the .csproj file for example).
Update: People have suggested "move" from the command line. Is there a TortoiseSVN equivalent?
Source: (StackOverflow)
Visual Studio solutions contain two types of hidden user files. One is the solution .suo
file which is a binary file. The other is the project .user
file which is a text file. Exactly what data do these files contain?
I've also been wondering whether I should add these files to source control (Subversion in my case). If I don't add these files and another developer checks out the solution, will Visual Studio automatically create new user files?
Source: (StackOverflow)
I get this error when I do an svn update
:
Working copy XXXXXXXX locked Please
execute "Cleanup" command
When I run cleanup, I get
Cleanup failed to process the
following paths: XXXXXXXX
How do I get out of this loop?
Source: (StackOverflow)
I just started using SVN, and I have a cache directory that I don't need under source control. How can I ignore the whole directory/folder with SVN?
I am using Versions and TextMate on OS X and commandline.
Source: (StackOverflow)
Is there a way to edit the log message of a certain revision in Subversion? I accidentally wrote the wrong filename in my commit message which could be confusing later.
I've seen How do I edit an incorrect commit message in Git?, but the solution to that question doesn't seem to be similar for Subversion (according to svn help commit
).
Source: (StackOverflow)
"It is not possible to check out a single file. The finest level of checkouts you can do is at the directory level."
How do I get around this issue when using Subversion?
We have this folder in Subversion where we keep all our images. I just want to check out one file (image) from that. This folder is really big and has ton of other stuff which I don't need now.
Source: (StackOverflow)
I have a folder, c:\websites\test
, and it contains folders and files that were checked out from a repository that no longer exists. How do I get Subversion to stop tracking that folder and any of the subfolders and files?
I know I could simply delete the .svn
folder, but there are a lot of sub-folders in many layers.
Source: (StackOverflow)