Hot answers tagged

11 votes
Accepted

Change name of folder in subversion *without* a checkout

First, for your direct question: svn move allows giving URLs in a repository, to avoid the need for a working copy for this one operation. For example, svn mv http://example.com/svn/repo/trunk/path/...
user avatar
  • 2,219
11 votes
Accepted

Subversion error: svn: E120171: Error running context: An error occurred during SSL communication

You may have run into this error because the minimum version of TLS defaults to higher than that used by the Subversion server. Your choices are to upgrade your Subversion server's version of TLS if ...
user avatar
10 votes

Which is the best and simplest Windows Subversion client I can install to get the Google Client Library for PHP?

What’s the easiest way to install Subversion and run that one line of code just one time? Just click “Download ZIP” on GitHub. You don’t need to install anything if all you want is to download it ...
user avatar
  • 1,073
10 votes
Accepted

What is a last version of Visual Svn Server with svn 1.8 can be instaled on Windows XP SP 2?

You can't. VisualSVN Server 2.6.0 is the first version with svn 1.8, and the minimum operating system requirement for it is XP SP3.
user avatar
  • 8,897
7 votes
Accepted

How to check if a directory is under svn version control?

Store the return code from the svn command in a variable and test that-: pushd $PWD svn info ERR=$? popd if [ $ERR -ne 0 ];then echo "Directory ${WD} not under version control" fi
user avatar
  • 4,565
6 votes

Want to delete revisions from my SVN repository

For me (VisualSVN, 30-HEAD) works this : del C:\Repositories\MyRepo\revs\0\30 del C:\Repositories\MyRepo\revs\0\29 del C:\Repositories\MyRepo\revs\0\28 del C:\Repositories\MyRepo\revprops\...
user avatar
6 votes

How to repair damaged repository (which has a centralized .svn directory)?

Instead of creating an empty file (which I did not dare to do), I did a temporary fresh checkout of just the affected directory (specifying the same revision) and copied the missing file from the new ....
user avatar
6 votes
Accepted

Error while installing Perl package Term::ReadKey in Cygwin

So the solution was..... install TermReadKey Cygwin package from cygwin installer. Such an easy solution :) Thanks to atrigent for this idea!
user avatar
  • 211
6 votes

What does Subversion use for its CA list?

By default svn client doesn't use any certificates. You have two options: 1. Download latest mozilla CA certificates ca-bundle.crt file from the link on cURL webpage. Find svn config file called ...
user avatar
  • 161
5 votes

How to find who deleted a line from a file in a SVN repository?

svn log --diff will identify deletes with "-" in column zero. Grep for "r" also so you can see the revision. % svn log --diff src/fozbo.cpp -r22222:HEAD | grep -e '^r' -e '^-.*xyzzy' r22222 | jruser |...
user avatar
5 votes

How to install svn 1.8.5 with neon on Mavericks?

to download the subversion-1.8.0 and subversion-1.8.9 http://archive.apache.org/dist/subversion/ Then unzip it. to setup compiler environment cd /Applications/Xcode.app/Contents/Developer/...
user avatar
5 votes

SVN: Vacuum/delete pristine copies from command line

For svn before 1.10, you just type "svn cleanup" without any parameters. Svn will automatically vacuum pristines after finishing cleanup. For svn 1.10 (maybe or later, I hope), you type the above ...
user avatar
  • 51
4 votes
Accepted

If you cancel a subversion commit, are the so-far sent files committed?

SVN commits are atomic: the commit happens either completely or not at all. If you cancel the commit process, the data uploaded so far will be discarded and no new revision will be created.
user avatar
  • 6,162
4 votes
Accepted

How to efficiently exclude .svn and .git folders in Windows 10 indexing?

I haven't tried this, but I found an MSDN article "What is included in the index?" (https://msdn.microsoft.com/en-us/library/windows/desktop/bb266513%28v=vs.85%29.aspx). I was hoping that the list of ...
user avatar
  • 640
4 votes
Accepted

SVN: Vacuum/delete pristine copies from command line

For TortoiseSVN the option or parameter is /vacuum as mentioned by the developer in an email. As you've pointed out it is currently missing in the documentation. SVN 1.8 introduced automatic ...
user avatar
  • 56
4 votes
Accepted

Windows batch: Get the first folder name starting with some value?

Alright, I already figured it out. See the batch file below. cd C:/Projects/ SET p=C:/Projects/ SET a=%1 for /D %%x in (%a%*) do if not defined f set "f=%%x" SET pa=%p%%f% TortoiseProc.exe /command:...
user avatar
  • 191
4 votes

Is there a `git cp` command that can copy only tracked files, like `svn cp`?

You can use git clone: $ git clone /path/to/project /target/path Then remove the .git file $ rm -R /target/path/.git
user avatar
4 votes

Chrome constantly claims that TortoiseSVN prevents it from working correctly

I have posted the very same question to TortoiseSVN discussion board and I have received a very detailed response from program's author itself. In this answer there is a suggestion that what can be ...
user avatar
  • 10.2k
4 votes

Tortoise SVN 1.12.0 stops working in Win 10 x64

This issue appears also in my computer and in my colleagues. No evidence of the cause was found. The debugOutputString was enabled and DebugView was used to gather logs. As Shown here: How To Debug ...
user avatar
  • 203
3 votes
Accepted

Add any files in a folder to Subversion ignore list without adding that folder

If the folder actually is already in SVN, then you just need to specify the svn:ignore property on that folder to ignore anything you like. In this case, you want to ignore everything, so you need to ...
user avatar
  • 2,219
3 votes

Checkout from svn repository over ssh

Why still using svn :-) Try git Through ssh: svn co svn+ssh://user@path/to/svn/repo/ or git svn clone svn+ssh://user@path/to/svn/repo/ Through https: svn co https://user@path/to/svn/repo/ or git ...
user avatar
  • 131
3 votes

How to change subversion working copy UUID?

Yves Martin's answer worked great for us on a number of working copies with SVN 1.8, but we did end up running into cases where it didn't work. Running Yves' command without "where id=1" worked in ...
user avatar
3 votes
Accepted

Tortoise SVN: Ignore missing items on my computer only

It sounds like you're actually looking for a "sparse checkout" containing only items of interest to you: http://svnbook.red-bean.com/en/1.7/svn.advanced.sparsedirs.html That chapter of the SVN book ...
user avatar
  • 2,219
3 votes

Daily crontab with hg, git and svn

It would be helpful if you showed us your crontab command. A few pointers first. Use full paths when writing cron jobs: eg. 03 05 * * * /bin/bash /home/user/myScript.sh Also pipe the output to a ...
user avatar
  • 31
3 votes
Accepted

TortoiseSVN: how to find a repository on the local machine

Search for folders with .svn subfolder - it means that folder that has it is SVN repository.
user avatar
  • 161
3 votes
Accepted

Which is the best and simplest Windows Subversion client I can install to get the Google Client Library for PHP?

What’s the easiest way to install Subversion and run that one line of code just one time? Generally, what I would do in a case of “which version of the commonly used software should I install” like ...
user avatar
  • 49.5k
3 votes

What happens to a branch when the master is deleted?

Branch has a reference to a specific revision. Your branch should be safe. SVN uses references most of the time.
user avatar
  • 75
3 votes

Tortoise SVN - Checkouts for repositories with many tags/branches

It will only grow over time if you're doing it wrong. SVN is not meant to check out entire repository trees with all branches and tags. That could very quickly eat up all available hard disk space on ...
user avatar
  • 2,219
3 votes
Accepted

Edit All Git Commit Messages to Remove Line

The answer found here helped me to find a solution: The first part of my question was how to automatically change the pick keyword to reword so that all commits would be edited. the answer was to set ...
user avatar
3 votes

Winmerge doesn't work as expected

Linux and Windows systems have different end of line symbols. Most likely the files are different because each line is now terminated differently, but Winmerge is then set to ignore differences in end ...
user avatar
  • 1,479

Only top scored, non community-wiki answers of a minimum length are eligible