svn

I want to find all the file names present in SVN that contain spaces and special characters

痴心易碎 提交于 2019-12-25 05:17:09
问题 I want to find all the file names present in SVN that contain spaces and special characters and put them in temp.txt . I don't have a path for that. I need to find file names in subfolders as well. I tried the following command, but it is not working. find.-type f|egrep-i"~||&|@|#|<|>|;|:|!|'^'|,|-|_"|tee temp.txt What is it doing wrong? 回答1: You're regex is wrong. Try this: find . -type f | egrep -i "[-~&@#<>;:!^,_]" | tee temp.txt You want to specify the characters to find and that is just

How to ignore conflicts in tortoiseSVN

狂风中的少年 提交于 2019-12-25 05:12:14
问题 I am working on a Visual Studio project and I know that I can ignore when conflicts arise in the bin/obj folders in some Class Libraries when I do updates, since I will rebuild the dll's anyway. I just don't know how to make SVN happy and tell it to ignore the conflicts - I would like to make a 'global' ignore so I will not have to do ignore every single time I update, but help in doing a simple ignore would be helpful as well. Thank you. 回答1: Why are the generated components under source

Echo a single line of an SvnAnt error message using Ant

我只是一个虾纸丫 提交于 2019-12-25 05:05:11
问题 If the SvnAnt <export> has an error, the Ant <loadfile> task will show all of it on the console. <svn refid="svn.settings" logFile="C:/Logfile.log"> <export destpath="LOCAL Location" srcUrl="Source Url" /> </svn> <loadfile property="svnLog" srcFile="C:/Logfile.log"/> <echo>${svnLog}</echo> [echo] <Export> started ... [echo] export --no-auth-cache -r HEAD https://lbsm8-svn.path.local/svn/DB_Scripts/SCRIPTS/Reporting/FTR/ORAX/ftr1241000000430105_orax.pbd D:\Copyof\anttt\RET\ORA [echo] svn:

Jenkins的安装配置

旧时模样 提交于 2019-12-25 04:56:36
Jenkins的安装配置 Jenkins是一个开源软件项目,旨在提供一个开放易用的软件平台,使软件的持续集成变成可能 Jenkins是基于Java开发的一种 持续集成 工具,用于监控持续重复的工作,功能包括: 1、持续的软件版本发布/测试项目。 2、监控外部调用执行的工作。 首先保证系统中已经安装了jdk 官网下载地址: http://mirrors.jenkins.io/war-stable/latest/jenkins.war 第一种启动方法: 切换到jenkins.war存放的目录,输入如下命令: 1 java -jar jenkins.war   然后在浏览器中输入localhost:8080,localhost可以是本机的ip,也可以是计算机名。就可以打开jenkins 第二种方法是:用tomcat打开,将jenkins.war文件放入tomcat下的webapps目录下,启动jenkins时, 会自动在webapps目录下建立jenkins目录,所以在地址栏上需要输入的地址于上一种方法有点不一样, 输入:localhost:8080/jenkins。 下面我们用第二种方法启动jenkins。 启动tomcat,浏览输入localhost:8080/jenkins。Windows环境下。 初始的管理员密码,jenkins自动生成的,根据上面红色的路径找到密码

Unable to install new software/check for updates eclipse

[亡魂溺海] 提交于 2019-12-25 04:53:10
问题 I'm trying to install subclipse on my desktop so i can use subversion. When I was at school with my laptop, the installation worked well and i was able to update and commit on the subversion, but, while i was at home, i tried to update and nothing worked. Then I tried on my desktop to install the subclipse plugin without success. When I go to "Help>install new software>Work With Kepler - http://download.eclipse.org/releases/kepler" Nothing appears on the software view except "pending..." The

Netbeans and SVN UUID problem

与世无争的帅哥 提交于 2019-12-25 04:43:28
问题 I created a project in Netbeans. Than I imported the directory to SVN. I can check out the project, but when I try to commit I get this error : Repository UUID 'XXXXX..' doesn't match expected UUID 'xxx....' I'm new to SVN and I'm not sure why this is happening. Thanks 回答1: This usually occurs for two reasons. The repository you checked out from has had a significant change in form of a dump & load done to it since you checked out and made changes. You're checking out from a read-only copy

Where did all the intermediate revisions go when I merged two branches?

拜拜、爱过 提交于 2019-12-25 04:43:15
问题 I recently merged branch X into branch Y . I expected the revision history from branch X to be merged somehow into the revision history of branch Y . Instead all I see is the revision history for branch Y with one commit merging in all of the changes from branch X . I intend to delete branch X in order to tidy up redundant branches. To do the merge I checked out branch Y , then did an svn merge with branch X , then committed the changes back to branch Y (as suggested here). Is the revision

add global revision number in php source files

大兔子大兔子 提交于 2019-12-25 04:39:17
问题 I want to replace a global revision no (head) in my PHP source files whenever I make a checkin (or update) for example I have below code <?php print 'Rv no : $glbRevisionNumber$'; ?> in all the php files that have under one folder eg. myapp/* the $glbRevisionNumber$ should get replaced with the current head revision number. How can I achieve this ? 回答1: Have a look at svn pre-commit-hooks: http://wordaligned.org/articles/a-subversion-pre-commit-hook Here are some example scripts: http://svn

How to tell if someone has downloaded the latest code

坚强是说给别人听的谎言 提交于 2019-12-25 04:36:11
问题 Is there a way I can tell (other than in the SVN Log...because it only shows me if someone committed) who has updated recently so that I know they have downloaded my code? I'm looking specifically into updates (not commits which can obviously be seen in SVN Log). 回答1: Sure - run your own subversion server, turn on logging, and read the logs. Edit : TortoiseSVN is a client . Subversion is a server . Imagine Tortoise being a browser (firefox) and Subversion being the webserver (apache or IIS).

How to maintain separate svn repositories for the same project?

被刻印的时光 ゝ 提交于 2019-12-25 04:32:14
问题 I'm using a large (thousands of source files) public project with minor (a dozen source files) local modifications and additions. The local modifications aren't relevant to other users of the big project. The project uses svn, as do we for our own projects. I want to be able to get the updates from the project when it is updated and incorporate our changes; I also want our changes kept under source control. At present, I'm simply svn updating our working copy of the big project when needed,