svn

How can I ignore build directory in Subclipse?

[亡魂溺海] 提交于 2019-12-23 09:29:56
问题 After build, I got tons of class files in build directory which is automatically generated. I don't want to commit them, so I tried to ignore them using Team -> Add to svn:ignore , but they are already grayed out. I tried to remove the build directory with Project -> Clean , but interestingly Subclipse still has them when I tried to commit. What went wrong? How can I ignore the build directory in Subclipse? 回答1: You cannot ignore a file which is already in the svn repository. Delete that file

Subversion and dependencies

痞子三分冷 提交于 2019-12-23 09:21:18
问题 I am trying to find a viable strategy to a following problem. We have several web projects which are dependent on our framework. Everything is stored in our SVN and has its own project with all the necessary directory structure (trunk, tags, branches). In an example - we have projects webprj01 and webprj02 and we have a framework frm01. All of those have usual SVN project structure - trunk, tags, branches. webprj01 and webprj01 are both dependent on frm01 and in real life frm01 is present as

reverting with tortoise SVN

青春壹個敷衍的年華 提交于 2019-12-23 09:21:03
问题 If I view the Subversion log in TortoiseSVN When I select a revision and right-click, I see the following options (among others): Update item to revision Revert to this revision Revert changes from this revision Can someone explain what are the differences between these 3? What I actually want to do is temporarily revert my working copy back to the selected version of the repository. Which of these options should I choose? 回答1: You should choose the second option. Here's what you get when you

What's the difference between 'commit' and 'revision'

人走茶凉 提交于 2019-12-23 09:16:23
问题 What's the difference between a commit and revision? We use SVN, and get metrics from Atlassian Fisheye. There is a report in Fisheye that shows the 'top committers - by revision' and 'top commiters - by commits'. No-one here can tell me what the difference is. Many thanks! Andy 回答1: A commit can contain many file revisions. A file revision is basically a file that is modified as part of a commit so a single commit can have many revisions. http://confluence.atlassian.com/display/FISHEYE

How to determine a developer's total contribution to SubVersion?

你说的曾经没有我的故事 提交于 2019-12-23 09:02:48
问题 I'd like to be able to see someone's total lines of code contributed to our application. Say the app is 10k lines of code, I'd like to see the breakdown of how many LOC each developer has committed to the repository. Is there anything for SubVersion to get this kind of info? 回答1: There is MPY SVN STATS and also StatSVN if I remember correctly that should do what you want and much more. I don't think it can be done with tortoisesvn all the tools that I know are command line tools and I fear

New project or branch?

北城以北 提交于 2019-12-23 09:01:12
问题 I have a solution in Subversion that I now will create a customer specific version of. It's unlikely that this version ever fully will get merged back into the main development. There will however be development both in the main trunk that I easily need to get into the specific project and the other way around (development in the custom project that needs to go back into the main trunk). Should the new custom project be a branch that lives in parallel with the main development or a new

checkout svn+ssh with loginname

自古美人都是妖i 提交于 2019-12-23 08:57:43
问题 I want to checkout something out of an repository .. but wenn i type : svn co svn+ssh://URL i get asked for the password.I suppose he uses the username from my console which aren't the same. So how can i checkout something with svn+ssh with a different loginname ? 回答1: SSH lets you select user in the connection URL: svn co svn+ssh://alabaster@URL 来源: https://stackoverflow.com/questions/574701/checkout-svnssh-with-loginname

Is VisualSVN Server generally viewed as a trustworthy SVN server?

天涯浪子 提交于 2019-12-23 08:54:33
问题 is VisualSVN Server generally viewed as a trustworthy SVN server? 回答1: My company has been using it. As far as I can tell, it's just a custom distribution of SVN + Apache rolled into an installer, so its "trustworthiness" will be the same as Apache's and subversion's. 回答2: I've been using VisualSVN Server for a few weeks along with the VisualSVN client for Visual Studio. It has been trouble free and setting it up was easier than falling off a log. The management console lets you create

Xuggler Repository Link Broken

一个人想着一个人 提交于 2019-12-23 08:47:02
问题 In my JAVA application, i am using Xuggler for ScreenCapture and other functionality. Now its a maven project so i put Xuggler as dependency in Pom.xml as told in this Link. Now few days ago i cleaned my system, so when i again imported my project, now it is showing "Missing artifact xuggle:xuggle-xuggler:jar:5.4". Though in pom file, repository link is there. I explored more and found out that http://xuggle.googlecode.com/svn/trunk/repo/share/java/xuggle/xuggle-xuggler/5.4/xuggle-xuggler-5.4

How to access files in SVN using java

断了今生、忘了曾经 提交于 2019-12-23 08:29:13
问题 I need help from you, i want open a file from SVN using java code, can any one tell me the flow of accessing the files, or can any one send me sample code for that one. Can any one send me example code for accessing svn through HTML using java. 回答1: You need to look at SVNKIT, Subversion for Java. From there: It supports Repository access over http(s), svn, svn(+ssh) and file protocols. Working copy operations - all are supported. Repository administration: create, load, dump and replay