svn

Why is Eclipse trying to copy my .svn folders from src to bin, and how can I make it stop?

与世无争的帅哥 提交于 2019-12-18 10:48:38
问题 I have checked out a bunch of java code using subversion 1.6 and then I imported those projects into eclipse. Subclipse 1.6 picked up the fact that the plugins are under version control, except for a few folders. I now get a bunch of errors like: The resource is a duplicate of src/.svn/all-wcprops and was not copied to the output folder If I delete the project (from eclipse not on disk) and reimport it, that fixes the problem about half the time. But since I have dozens of projects that are

How to rename an SVN branch and update references in an existing sandbox?

只谈情不闲聊 提交于 2019-12-18 10:48:07
问题 I needed to rename a SVN branch, so I did: $ svn move https://server/repos/myrepo/branches/oldbranch \ https://server/repos/myrepo/branches/newbranch So far, so good -- the branch has been renamed. The trouble is, we have existing sandboxes checked out from this branch and when I try to update I get this error: $ svn update svn: Target path '/branches/oldbranch' does not exist A fairly self-explanatory error. After a quick search I thought I had found the solution: Relocating SVN working copy

Update from svn without merging automatically

ε祈祈猫儿з 提交于 2019-12-18 10:44:18
问题 My coworker has a problem with the way that svn update works, but I'm not sure why, so this question has two sides. First, how to solve his problem the way he wants, and second, should I try to convince him that the way TortoiseSVN does things now is the best way (and if so, how)? His Ideal Use Case Right click->SVN Update SVN pulls in changes from repository as long as the file hasn't changed in the working copy If both the working copy and HEAD have changed, he wants to be prompted before

Migrating Visual SVN Server from one Windows install to another

自作多情 提交于 2019-12-18 10:42:45
问题 I have Visual SVN Server on my Vista laptop. The repository resides on the second hard drive. I am doing a clean install of Windows 7 in the next few days. How do I configure or install Visual SVN Server again and keep the users, repositories, and settings intact from the previous installation? Thanks. 回答1: You can simply copy the folder containing the repositories (e.g. c:\repositories ) to the new machine. That folder contains all the users (in the file htpasswd ) and the access rights (

What do you use as a good alternative to Team System?

房东的猫 提交于 2019-12-18 10:41:09
问题 I would like to gauge what solutions other people put in place to get Team System functionality. We all know that Team System can be pricey for some of us. I know they offer a small team edition with five licenses with a MSDN subscription, but what if your team is bigger than five or you don't want to use Team System? 回答1: I'm stunned that nobody has mentioned the free and excellent TeamCity product from JetBrains. It includes: Continous Integration Software Build management Project

How can I make Eclipse file search not include svn directories?

断了今生、忘了曾经 提交于 2019-12-18 10:37:44
问题 When I do a file search on eclipse it includes the .svn directories by default. I tried excluding them from the build path but they still appear on file search results. 回答1: Spaceman is right. With Helios, choose Project -> Properties -> Resource -> Resource Filters and then add an exclude filter for type "Folder" with name .svn . 回答2: If you install the subclipse plugin then it automatically excludes the .svn directories (plus provides some other cool stuff in the IDE). http://subclipse

How can I reconnect a git repository with a svn repository?

筅森魡賤 提交于 2019-12-18 10:36:02
问题 I used git svn to import an existing Subversion repo into git. I then pushed this to git repo on a git server. Over the last few months changes to the software have been made in both Subversion and git repositories. Unfortunately, my local copy with the links between svn and git has been deleted. I've tried to recreate the local copy using git svn again, but when I do a pull from the git server it complains warning: no common conflicts and I end up merging two separate branches with the same

Convert SVN Subdirectory to Git

时间秒杀一切 提交于 2019-12-18 10:34:20
问题 I would like to ditch SVN for Git. My current SVN repository setup has projects under trunk ( /trunk/projecta , /trunk/projectb , etc. with tags and branches at /tags/projecta-1.0 , etc.). I would like to create distinct Git repos for each of these projects by pulling them out of SVN using git-svn. I've successfully pulled the entire SVN repo down to a local Git repo but all of the projects exist in the same Git repo now. Is it possible to pull them apart at this point? 回答1: This is tricky.

How to find out Subversion repository version?

杀马特。学长 韩版系。学妹 提交于 2019-12-18 10:31:44
问题 How can I determine current version of my repository to see if I need to upgrade it (svnadmin upgrade)? In reality I'm hosting SVN with 3rd party and I want to find out if I need to ask them to upgrade my repos or not. I'm asking since 1.5 server will keep repo version at 1.4, unless I miss something? 回答1: Have a look at <REPO>/db/format . After upgrading to 1.5 format, my format file shows: 3 layout sharded 1000 Before it used to be: 2 回答2: Take the http or https link to your repository and

Rolling back bad changes with svn in Eclipse

自古美人都是妖i 提交于 2019-12-18 10:21:11
问题 Let's say I have committed some bad changes to Subversion repository. Then I commit good changes, that I want to keep. What would be easiest way to roll back those bad changes in Eclipse, and keep the good changes? Assuming that files relating to bad changes are not same as those relating to the good changes. How things change if good changes were made to same files as bad changes? I am mostly looking a way to do this via Eclipse plugins (Subclipse or Subversive) but commandline commands are