svn

How to erase sensitive information from Subversion?

落爺英雄遲暮 提交于 2019-12-30 04:37:34
问题 I one of the previous versions of my code, stored in a Subversion repository, there is sensitive information. How to erase it while keeping all other versions? EDIT : The repository is Google Code Project Hosting, so I can't dump and restore the repository =( 回答1: Want you want is a SVN feature commonly called "obliterate", which unfortunately still is not implemented. As a workaround, you will have to dump, filter & reimport your repository. See e.g. the entry in the SVN faq How do I

Fill @version tag with subversion in Eclipse

落爺英雄遲暮 提交于 2019-12-30 04:24:10
问题 I would like to fill the comment tag @version with Subclipse or Subversion in Eclipse. CVS has done this automatically but Subversion isn't. This would be very helpful. I tried to google "@version" but it seems impossible. Example what CVS did: <?php /* * @author Spankmaster * @version $Id: file.php,v 1.47 2009-09-21 09:28:49 sp Exp $ * @package mysoftware */ Example with SVN: <?php /* * @author Spankmaster * @version $Id: $ -> stays empty * @package mysoftware */ Please help..... 回答1: in svn

Automatically add files to SVN inside a specific folder

柔情痞子 提交于 2019-12-30 04:21:06
问题 I use TortoiseSVN to manage my SVN files. This all works quite well, but I have to manually add new files to SVN before I commit them. In 99% of the cases that's exactly as wanted, but now I have a folder which contains logfiles that should be stored in SVN, but they are too dynamic to add them all manually. So what I want is that I just commit the folder and all new files are automatically added and then committed. I've seen a solution here, but not with TortoiseSVN. 回答1: In the TortoiseSVN

Add a new file in Intellij doesn't add to subversion

好久不见. 提交于 2019-12-30 03:44:27
问题 I'm not sure what I did to cause this, but adding a new file or package in IntelliJ now doesn't add them to subversion, and I have to add them manually via right-click -> subverion -> add. Is there a setting that controls this behaviour? 回答1: Go to File -> Settings -> Version control -> Confirmation -> When files are created You're probably looking for " Add silently ". Note: In IntelliJ 6 or earlier versions this is done with File -> Settings -> Version control -> General Settings -> Add

How to check out a particular version of code from SVN? [duplicate]

ⅰ亾dé卋堺 提交于 2019-12-30 03:32:04
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: Checkout a specific revision from Subversion from the command line How can I check out a particular version of code from SVN (Subversion)? 回答1: What client are you using? svn checkout svn://repository/path@123 or svn checkout -r 123 url://repository/path or TortoiseProc.exe /command:checkout /rev:1234 回答2: svn update -r NBR It might also work with svn up , depending of your version of Subversion. 回答3: svn

Commits and merges on SVN subdirectories considered harmful?

泄露秘密 提交于 2019-12-30 02:09:10
问题 We have several large subprojects inside our main SVN project root. I commit and merge only my subproject when working with our release branches, mainly because it's faster. However, a colleague pointed out this reference to merging subdirectories in Version Control with Subversion (a.k.a "The SVN Book"): For long-lived release branches (as described in the section called “Common Branching Patterns”), perform merges only on the root of the branch, not on subdirectories. Unfortunately, this is

shortcut for 'update to HEAD'

浪尽此生 提交于 2019-12-30 02:02:19
问题 is there any way to have either shortcut or icon for svn Update to HEAD of one project (not all of them) in eclipse? It would make my life much much easier. I have few php projects though. Time to time I click 'commit' by accident. Running Eclipse for PHP Developers - Helios release - on OS X. 回答1: I'm posting this to help anyone interested since I got a lot of grief before figuring this out.. You have to go to Settings > General > Keys and bind the shortcuts as the others have said. I have:

SVN: Is it possible to get the list of revision numbers for given path?

强颜欢笑 提交于 2019-12-30 01:54:10
问题 I am making a PHP tool that connects to a repository, downloads the list of commits and stores them locally. However, due to the possibility that certain repositories are HUGE and grabbing their log results in long waiting time and possible time-outs/errors, I would like to download each commit message using async requests. So, I have a start and end points in revision history, and I can grab all logs like this: svn log -r <from_revision>:<to_revision> <REPO_URL> ... and I will possibly end

Jenkins02:Jenkins+maven+svn集成

ⅰ亾dé卋堺 提交于 2019-12-30 01:46:19
1、安装Maven并配置环境变量 下载 maven (windows下载 zip 包,linux下载 tar.gz 包),然后配置环境变量 在项目中使用maven,可以从java中央仓库中获取到项目所依赖的jar包,才能完成项目的部署。 1.1 Linux配置环境变量内容 export MAVEN_HOME=/usr/local/apache-maven-3.5.3 -- 选择自己正确的版本号export PATH=${PATH}:${MAVEN_HOME}/bin 配置完成后,输入 source profile 使环境变量生效 在终端输入 mvn -v 查看maven是否安装成功 1.2 Windows配置环境变量内容 添加环境变量 MAVEN_HOME=C:\Program Files\Maven\apache-maven-3.5.3在path后追加环境变量:%MAVEN_HOME%\bin 输出 mvn -v 检查是否安装成功 2、配置Jenkins中的jdk和maven环境变量 2.1 在Jenkins中点击 系统管理 -> 全局工具配置 分别配置jdk和maven 2.1.1 配置jdk 2.1.2 配置maven 安装插件 Maven Integration plugin 在 全局配置工具 中配置maven 3 安装搭建svn 安装文档地址: https:/

How do you add a project to svn in eclipse?

烂漫一生 提交于 2019-12-30 01:36:29
问题 I managed to download the svn plugin for eclipse helios. I then managed to add a new repository to the drive of my choice. However i cannot see how i know add projects i have already created? Can someone tell me how i go about doing this please. Thanks 回答1: Something like: Right-click on your project. Select Team -> Share Project. The Wizard will guide you through to make an Initial Import. The Initial Import wont actually put any code into the repository, just the project details. So you