svn

Android Studio fails to connect to SVN server - SSL handshake failure

和自甴很熟 提交于 2019-12-23 10:54:21
问题 I am having issues to connect to SVN server using Android Studio 1.01. When I try to browse the remote SVN repository I get the following error: Subversion: (Accessing URL: https://subversion.assembla.com/svn/whozeincharge) Received fatal alert: handshake_failure Please check Subversion SSL settings (Settings | Version Control | Subversion | Network) Maybe you should specify SSL protocol manually - SSLv3 or TLSv1 My SVN server is hosted at www.assembla.com Assembla team blocked the SSL based

SVN 安装教程

谁说胖子不能爱 提交于 2019-12-23 10:51:22
SVN简介: 为什么要使用SVN? 程序员在编写程序的过程中,每个程序员都会生成很多不同的版本,这就需要程序员有效的管理代码,在需要的时候可以迅速,准确取出相应的版本。 Subversion是什么? 它是一个自由/开源的版本控制系统,一组文件存放在中心版本库,记录每一次文件和目录的修改,Subversion允许把数据恢复到早期版本,或是检查数据修改的历史,Subversion可以通过网络访问它的版本库,从而使用户在不同的电脑上进行操作。 一:SVN服务器搭建和使用。 1. 首先来下载和搭建SVN服务器,下载地址如下: http://subversion.apache.org/packages.html ,进入网址后,滚动到浏览器最底部看到如下截图: 2.VisualSVN server 服务端和 TortoiseSVN客户端搭配使用. 点开上面的VisualSVN连接,下载VisualSVN server,下载完成后双击安装,如下图: 点击Next下一步,如下: 然后再点击Next项,下一步,如下: 点击【Next】 如下: 选择标准版本安装 Location是指VisualSVN Server的安装目录,Repositorys是指定你的版本库目录.Server Port指定一个端口,Use secure connection勾山表示使用安全连接, 点击Next,进入下一步,如下图

Displaying a message to users pre-commit in Tortoise SVN

邮差的信 提交于 2019-12-23 10:28:10
问题 We use Tortoise SVN for source control, and have already set up a commit message template. I would also like to display some text to the user when they commit, that doesn't get included in their commit message, along the lines of "Don't forget to do X!". Is this possible? 回答1: I have set up a similar environment using the Tortoise Docs and can say: Yes, it is! Operation involves a Start-Commit Hook that fills in the lines that the user shall read and a Pre-Commit Hook that removes thee lines

How do I edit and commit a single file from a Subversion repository?

你说的曾经没有我的故事 提交于 2019-12-23 10:20:00
问题 Using TortoiseSVN (a command line solution is OK too), without creating a folder on the repository side, what are the steps to checkout a single file, edit and check back in with comments? 回答1: AFAIK you cannot get a copy of a single file from SVN, a working copy is always a directory. So you will need to check out a whole folder in order to edit the file in question and then commit. This was the case some time back (less than 3 months) and I doubt it has changed since then. 回答2: To check out

How to delete “-” file from svn?

半城伤御伤魂 提交于 2019-12-23 10:16:55
问题 Accidentally I have created file "-" (just a minus) in a directory and commited it. I have to delete it because its causing error on other machines: svn: Can't convert string from 'UTF-8' to native encoding: svn: ?\226?\128?\147 I can remove it from local directory using "rm -i *" or with python "os.remove('\xe2\x80\x93')" but those methods do not work with "svn rm". How to delete such file from svn repository? 回答1: You could try svn rm ./- It might not actually be a minus, tho', but a

SVN delete headache what am I doing wrong?

自闭症网瘾萝莉.ら 提交于 2019-12-23 10:06:04
问题 I am totally confused assuming I am in a working copy and do the following: svn mkdir trunk svn mkdir tags svn mkdir branches svn commit -m "added trunk branches and trunk" cd trunk touch a b c d e f g svn add a b c d e f g cd .. svn commit -m "added files" svn copy trunk tags/1.0 svn commit -m "tagged 1.0" Now I want to delete a file and tag another version svn delete trunk/e svn commit -m "deleted file e" svn copy trunk tags/1.1 svn commit -m "created tag 1.1" I get an error message similar

How to get external merge tools to work with svn on linux?

时光怂恿深爱的人放手 提交于 2019-12-23 09:59:27
问题 How do I get a GUI-based merge tool to work with command line SVN in linux? I understand that there are many options like meld, svn Diff, etc. out there. All of them require a helper script to allow svn to invoke the external program during conflict resolution. I followed the instructions given here and the nice svn manual with meld. But in all cases, when I get to the merge conflict and type 'l' to invoke the external tool, I get an error: The external merge tool exited with exit code 255 I

SvnClient.GetStatus(path, args, statuses) returning 0 for versioned file?

放肆的年华 提交于 2019-12-23 09:49:36
问题 I have written a simple C# app using SharpSVN to query the status of a file prior to attempting an add. The examples I've seen in various places for this very purpose involve calling the GetStatus method of the SvnClient, passing in the full path and an out parameter to a collection of SvnStatusEventArgs. My understanding is that, for a file, GetStatus should return with an SvnStatusEventArgs collection having a count of exactly one, with a status among NotVersioned, Missing, Normal, and so

SVN best practice - Deleting completed branches

断了今生、忘了曾经 提交于 2019-12-23 09:48:38
问题 Once you have finished/reintegrated a branch, is it best practice to delete the branch so your head branches folder only shows current branches? If so, what would be a suitable time to delete reintegrated branches? After a minor release (which is when we tag). Cheers 回答1: According to this, it is recommended to delete your reintegrated branch immediately after reintegration and create a new one with the same (or different) name instead. 来源: https://stackoverflow.com/questions/3528464/svn-best

Is there a way to visualize an entire SVN repository?

时光怂恿深爱的人放手 提交于 2019-12-23 09:46:27
问题 I have an SVN repository that has multiple projects inside of it, each one of those with a tags/branches/trunk structure under them like this: Project 1 - trunk - tags - branches Project 2 - trunk - tags - branches This goes on for ~40 projects. What I would like to do is clean up any abandoned branches that may exist, however I do not know of a method to visualize the entire repository tree. I would really like to not have to browse through each of the branches manually if I can avoid it.