svn

How to convince a company to switch their Source Control [closed]

醉酒当歌 提交于 2019-12-29 06:44:06
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . My current place of employment is currently in a transition, new ownership has taken over, things are finally getting standardized and proper guidelines are being enforced. But we are still using VSS, there really isn't any reason for using it other then that's what whats

How to detect file ends in newline?

半城伤御伤魂 提交于 2019-12-29 05:49:05
问题 Over at Can you modify text files when committing to subversion? Grant suggested that I block commits instead. However I don't know how to check a file ends with a newline. How can you detect that the file ends with a newline? 回答1: @Konrad : tail does not return an empty line. I made a file that has some text that doesn't end in newline and a file that does. Here is the output from tail: $ cat test_no_newline.txt this file doesn't end in newline$ $ cat test_with_newline.txt this file ends in

Upgrading Subversion server from 1.5.5 to 1.6.5 - dump/upgrade/reload, exact steps?

六月ゝ 毕业季﹏ 提交于 2019-12-29 04:58:33
问题 I'm about to upgrade a SVN server from version 1.5.5 to 1.6.5 - all is fine with the actual upgrade, but I'm a little confused about upgrading the actual repositories. I've read in a few places (here, here), that it's better to dump and reload the repositories rather than using svnadmin upgrade . I assume that I should dump, upgrade the server and then load the dumps back in - however, should I clear the old files out of the repository before loading? If so, what's the best way to do this? If

Can git-svn correctly populate svn:mergeinfo properties?

眉间皱痕 提交于 2019-12-29 02:43:25
问题 I am evaluating git-svn and trying to determine how well it will play with a particular svn repository. I am mostly concerned with getting git-svn to perform merges in such a way that the svn:mergeinfo property is correctly set in the subversion repo. Is this possible? Here is what I have done so far: # Checkout the SVN repo. $ git svn clone svn://server/project1 -T trunk -b branches -t tags # Make sure we are working on trunk. $ git reset --hard remotes/trunk # Modify the working copy. $ vim

How to change credentials for SVN repository in Eclipse?

走远了吗. 提交于 2019-12-29 02:21:36
问题 I have Eclipse 3.4.2 installed on Windows with subclipse. Another developer added an SVN repository with his credentials and selected 'Save password'. Now every time I do anything with SVN his cached credentials are used. How can I change them to mine? I have already checked the 'workspace/.metadata/.plugins/org.tigris...' folders, and could not find any way to reset those cached credentials. 回答1: http://subclipse.tigris.org/wiki/PluginFAQ#head-d507c29676491f4419997a76735feb6ef0aa8cf8:

Configuring VisualSVN Server to use _svn instead of .svn

微笑、不失礼 提交于 2019-12-29 01:44:16
问题 We were having a problem with our build server not checking out modifications from source control despite recognizing that there had been changes. It was traced to the control folder (not sure what it's real name is), the existing working builds were using _svn. Clearing the working folder forced a new complete checkout and I noticed that now the control folder is .svn. It looks like originally our integration routines were checking out code using _svn but now it is using .svn. The svn.exe

Which protocol? svn:// or http(s)://?

时光总嘲笑我的痴心妄想 提交于 2019-12-28 11:42:37
问题 There are four common protocols for network access of SVN. svn://repos svn+ssh://repos https://repos http://repos The Wikipedia page doesn't say much about the differences of the four different protocols. I've always preferred svn:// , because it is the easiest to set up, but what is the difference and which one is "better"? 回答1: http:// has a serious overhead, especially when dealing with thousands of small files. I used svn for a website that had around 50,000 icons, all saved in SVN. With

Repair SVN Checksum

我们两清 提交于 2019-12-28 09:33:11
问题 I'm using subclipse in Flex Builder 3, and recently received this error when trying to commit: svn: Checksum mismatch for '/Users/redacted/Documents/Flex Builder 3/path/to/my/file.mxml'; expected: 'f8cb275de72776657406154dd3c10348', actual: 'null' I worked around it by: Committing all the other changed files, omitting the troublesome one. Copying the contents of the trouble file to a TextMate window Deleting my project in FlexBuilder/Eclipse Checking my project out fresh from SVN Copying the

SVN blame in Eclipse

血红的双手。 提交于 2019-12-28 09:32:08
问题 Yesterday, I discovered the Subversion (SVN) blame feature, and I was wondering, is this feature available from Eclipse? 回答1: As was pointed out, you would currently have to first install a plug-in to enable Subversion support. I recommend Subversive, myself, and a search here on Stack Overflow for the tags "eclipse" and "subversion" together will show several previous threads regarding "gotchas" to watch out for when installing the connectors (Subversive is separated into two parts-- the

XCode 4.2 SVN issues

耗尽温柔 提交于 2019-12-28 09:13:09
问题 I am having trouble connecting my project repository to XCode, ever since I've upgraded to 4.2. I have a local server with a forwarded port to be accessed from outside the local network. I have a DNS record pointing to the external ip. When I explicitly define the external ip (i.e https://123.456.789.000/svn/...) the repository is properly linked, no problems. This also works when I specify the internal address. The issue is when I use the repository dns - XCode shows a red dot with "Host