svn

svn : how to create a branch from certain revision of trunk

霸气de小男生 提交于 2019-12-18 09:57:19
问题 The following action will only create a branch from the head revision of the trunk. How do I create a branch from a specific revision? Thanks. $ svn copy http://svn.example.com/repos/calc/trunk \ http://svn.example.com/repos/calc/branches/my-calc-branch \ -m "Creating a private branch of /calc/trunk." 回答1: Check out the help command: svn help copy -r [--revision] arg : ARG (some commands also take ARG1:ARG2 range) A revision argument can be one of: NUMBER revision number '{' DATE '}' revision

How do I remove a folder from source control with TortoiseSVN?

不想你离开。 提交于 2019-12-18 09:57:15
问题 How do I remove a folder from being source controlled with TortoiseSVN? 回答1: There is a dedicated item in the extended context menu: Hold the Shift key down and right click on the folder. Under the TortoiseSVN menu click on "Delete (keep local)" Image cropped from TortoiseSVN's extended context menu page. Delete (keep local) documentation blurb. 回答2: The easiest way is described here: http://tortoisesvn.net/unversion.html That article is a bit wordy and some of the methods didn't work for me

What Visual Studio files should be ignored by subversion to minimize conflicts?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-18 09:54:36
问题 I am supporting a number of .Net developers who are using Subversion to version control their work, but we have been running into a number of issues that seem to revolve around the additional files that Visual Studio uses to manage projects, do debugging, etc. Specifically, it seems that these files are causing conflicts due to the fact that they are already in the repo. I know how to get them out and how to handle them, but I need to know what "they" are first. So, what are the files

VISUAL SVN安装 及客户端使用

岁酱吖の 提交于 2019-12-18 09:53:10
1.为什么要用VisualSVN Server,而不用Subversion? 回答: 因为如果直接使用Subversion,那么在Windows 系统上,要想让它随系统启动,就要封装SVN Server为windws service,还要通过修改配置文件来控制用户权限,另外如果要想以Web方式【http协议】访问,一般还要安装配置Apache,如果是新手,岂不是很头痛?而VisualSVN Serve集成了Subversion和Apache,省去了以上所有的麻烦。安装的时候SVN Server已经封装为windws service,Apache服务器的配置也只是在图像界面上,指定认证方式、访问端口等简单操作;另外,用户权限的管理也是通过图像界面来配置。 2.为什么不用TFS? 回答: 因为我们一开始就是用Subversion和TortioseSVN,所以就没有更换其他的软件。至于TFS至今没有用过,其实,我只是看了一些的文章而已,对它也不了解。 3.VisualSVN Server是免费的吗? 回答: 是的,VisualSVN Server是免费的,而VisualSVN是收费的。VisualSVN是SVN的客户端,和Visual Studio集成在一起, VisualSvn Server是SVN的服务器端,包括Subversion、Apache和用户及权限管理,优点在上面已经说过了

MyEclipse2014 安装SVN小工具

╄→гoц情女王★ 提交于 2019-12-18 09:06:15
1、下载svn小工具 下载链接: folderID=2240">http://subclipse.tigris.org/servlets/ProjectDocumentList?folderID=2240 ,下载最新的稳定版就可以。我下载是site-1.8.22.zip。 2、新建目录 比如: 新建一个【D:\myplugins\svn\eclipse\】(目录名和位置随便,能够自己定义), 将 site-1.8.22.zip 文件解压缩。把features和plugins复制到【D:\myPlugin\svn】里面,其它文件不用拷贝。 3、建立link和重新启动 找到My安装Eclipse文件夹,【dropins】文件夹以下,新建一个txt文件改名为【svn.link】(后缀也要改),内容为【path=D:\\MyEclipse\\myPlugin\\svn】(上面新建的文件夹路径)。 然后,重新启动MyEclipse能够。 版权声明:本文博客原创文章,博客,未经同意,不得转载。 来源: https://www.cnblogs.com/zfyouxi/p/4667516.html

Change author name in TortoiseSVN

三世轮回 提交于 2019-12-18 09:04:44
问题 HI have 3 WinXP computers which access subversion based on a linux server. I would like to change the author name displayed in the logs on a couple of the computers cause they are 'development pc 3' and the name of an old employee. How do I do this? 回答1: Ask TSVN to "show log", in the change log order all commits by author, then select all the commits by the author of interest and use "Edit author". 回答2: Most likely you've tried changing the author name like sharptooth suggested, but then you

How to create trunk directory in existing svn repo without a trunk, and move all files to new trunk?

我们两清 提交于 2019-12-18 08:47:11
问题 I've got an svn repo with no trunk dir. I'd like to create the trunk and branches dirs, and move all my files (currently in the root) into trunk. Creating trunk works just fine: macbook[601] # svn mkdir trunk A trunk macbook[602] # svn commit trunk Adding trunk Committed revision 67. moving everything into trunk fails: macbook[604] # svn move * trunk svn: Cannot copy path 'trunk' into its own child 'trunk/trunk' is there a way to do this without giving it all the file and dir names

Xcode 4 SVN hanging at “Checking out” if client certificate required

妖精的绣舞 提交于 2019-12-18 08:29:36
问题 I am trying to get Xcode 4 working with my svn repository. I type in the svn address, which it says is reachable, but when I try to check out, it comes up with "The server 'svn.testbedapp.com' requires a client certificate." (it doesn't provide the option to supply the certificate) and then it shows "Checking out 'ProjectName'" indefinitely with s pinning wheel. Any ideas how I supply the certificate or get it checking anything out? 回答1: It's a known issue. Open terminal, type svn ls <your

Subversion: Expected format '3' of repository; found format '5'

岁酱吖の 提交于 2019-12-18 07:14:19
问题 Well I've gotten myself in a pickle I did the subversion 1 click setup and it worked great. However, in setting up my repository I accidentally committed a file that I shouldn't have. Rather than jumping through the hoops of purging a file I deleted the repository and recreated it using "svnadmin create" as recommended to me. Now however I am recieving the notorious Expected format '3' of repository; found format '5' error when I try to either import to the repository, or just even browse to

svn分支的创建与合并

久未见 提交于 2019-12-18 06:47:45
小结: 1.主干在建立分支之后与分支同时修改了某个类文件.合并的步骤是:主干->分支->主干,有人可能认为将主干->分支就可以将分支做为主干. 一般上线的都是主干.而不会是分支, 从分支->主干如果在主干->分支做完之后,merge应该没什么障碍了. 2.分支的日志包含了主干在拆成分支之前的日志, 可以也可以通过命令显示仅在拆出之后,分支的日志部分. 3.在冲突的时候,diff版本用来显示,直接编辑冲突文件消除冲突即可. 4.版本号是针对整个工程累加计算的.工程包括trunk,branch,tag. ------------------------------------------------------------------------------- 转自http://blog.csdn.net/jixiuffff/archive/2010/05/13/5586858.aspx 假如主干是这样的 a---->b------>c----->d------------>e a b c d e 分别代表版本号 突然发现项目在版本e时引入了一个bug ,要修改这个bug,可能需要一段时间才能完成 即如果在e处直接对代码进行修改,可能会影响其他人继续进行开发,一种办法就是copy e 的代码到另一个地方(创建一个分支) ,在这个分支上修正bug 待修正好bug 后,将其合并到主干中