svn

svn command line from eclipse

随声附和 提交于 2020-01-03 08:54:00
问题 Hello is there a way to use svn command line from eclipse? Within eclipse in my project browser i can righclick and then click team and than i have something like svn. Not sure which plugin it is. But it doesn't have button's to for example ignore files for uploading. That's why I want to to it command line. And my question is how to do it. Ok so how can I use it from command line in windows xp? 回答1: The plugin you are probably using is Subclipse. It should have an "Add to svn:ignore" option.

利用SVN搭建测试服务器

丶灬走出姿态 提交于 2020-01-03 08:36:24
在正规的团队开发流程中,测试服务器测试是必不可少的一个环节,如何简单快捷的部署测试服务器将是本文的重点。本文的实际环境是CentOS + PHP + MySQL + SVN,将通过两种不同的途径来实现部署测试服务器的最终目的。 第一种, post-commit post-commit本身是SVN系列钩子中的一个,是为了更方便对SVN使用中的常见操作进行处理, 建立测试服务器的步骤如下 在hooks目录,创建post-commit文件, 并将其内容定义为类似如下 #!/bin/sh export LANG = en_US . UTF - 8 svn checkout -- username kimi -- password password svn : //10.0.0.8/projects/ /wwwroot/projects.ismole.net chown www : www / wwwroot / projects . ismole . net - Rf 说明: 1. #!/bin/sh 说明是执行shell命令 2. export LANG=en_US.UTF-8是为了解决svn post commit 中文乱码,设置本地化编码。不过SVN默认是UTF-8编码。如果字符集符合并且不设置将会出现错误,而执行不成功,错误标识为svn: Can't convert string

Version control: delete branches after merging?

回眸只為那壹抹淺笑 提交于 2020-01-03 08:28:54
问题 When you branch some code, finish working with the branch, and merge it back to the trunk, what do you do with the branch? Delete it from the repository? Keep it for reference? It seems like you would keep it for reference, but I imagine the /branches directory could get pretty cluttered. (If this isn't something people generally agree on, please comment and I'll make it a community wiki.) Clarification jleedev is right - we should specify which version control system we're talking about. I

Permissions and SVN Updates on Windows Server 2008: same folder & SVN account, different Active Directory users

我只是一个虾纸丫 提交于 2020-01-03 07:20:33
问题 We're experiencing strange permission issues with SVN after switching from Windows Server 2003 to Server 2008. On our standard build box there is a folder ( C:\SVN_Code_Folder ) which AD_User_A associates with a SVN repository using SVN_User and TortoiseSVN 1.7.6 When using Windows 2003, when AD_User_B logs into the box and tries to Update, Switch, Merge the SVN_Code_Folder with SVN_User, the command is executed. It Windows 2008, it fails with the message: Command: Update Error: Working copy

Same working copy of the code with 2 SVN servers [duplicate]

旧时模样 提交于 2020-01-03 07:08:15
问题 This question already has answers here : Can I have one project in two SVN repositories? (12 answers) Closed 4 years ago . Is it possible to use same working copy and to put the same into two different SVN servers(commit, update,...)? 回答1: How to synchronize two Subversion repositories? Can I have one project in two SVN repositories? SVN: one working copy, two repositories? 回答2: Yes, you can use the Relocate (thanks, Peter) command to connect your working copy with the first repository,

SVN: How to make a file read-only with subversion?

回眸只為那壹抹淺笑 提交于 2020-01-03 07:00:25
问题 I am working on a large web project which is managed in an SVN repository. Each time a team member checks out the project, or we check out the project on a new production server, we have to modify a custom configuration file for that server. I have a "config.ini.base" file under revision control, which we keep updated with the latest settings, the idea being that team members copy that to create their "config.ini" (which is listed under 'ignore' on the directory). To avoid confusion and

I have couple of folders in SVN which I want to lock from other users to avoid accidental commit

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-03 05:19:16
问题 I have couple of folders in SVN which I want to lock from other users to avoid accidental commit , How lock files but and lock a folder , I am using tortoiseSVN (TortoiseSVN 3.6.0 version) Please help on this. Its very priority. Regards, Nageswari 回答1: You can add Read Only user permissions to your repositories, projects or even individual directories or files. See the Getting Started | Configuring User Permissions page and the KB33: Understanding VisualSVN Server authorization article. PS I

Grails - No SCM provider installed

雨燕双飞 提交于 2020-01-03 04:48:07
问题 I need deploy my plugin into Nexus repository and create tag in my SCM (Subversion). In BuildConfig.groovy I wrote build ":release:3.0.1" in plugin section and set up repository: grails.project.repos.releases.url="http://my-nexus:8081/content/repositories/releases" grails.project.repos.releases.username="deployment" grails.project.repos.releases.password="deployment123" When I launched grails publish-plugin --repository=releases command, I get WARN: No SCM provider installed. If I fix this

Exporting a single tree svn structure with all history into a new mutitree structure

时光怂恿深爱的人放手 提交于 2020-01-03 03:43:06
问题 We currently have an svn server where everything is in one big tree, for all our projects. Is is possible in some way to export these projects and their history into a new multi tree structure? Is there some way to only dump a partial path of the tree so i can get each project in its own backup file and import those into the new svn server? edit: to clarify, we have one repository with a structure containing customers and their projects, we now want one repository for each project, instead.

settings a SVN server so as to enable lock-modify-unlock mechanism of version control

戏子无情 提交于 2020-01-03 02:50:32
问题 We are currently using SVN in the checkout-modify-merge mechanism and instead I want to re-configure the SVN server so that we change this to lock-modify-unlock mechanism. We use Tortoise SVN client and I saw that it is possible to individually change the property of single files to enforce the "needs-lock" property but this is too laborious and instead I am looking at some way through which we can change something on the svn server side that causes all the files to apply the "needs-lock"