svn

How to lock SVN trunk except for merges from branch?

情到浓时终转凉″ 提交于 2019-12-18 18:04:13
问题 I'd like to prevent developers working directly on the trunk. I'm aiming to enforce all developers off the trunk and to work on there own branches until CI tests are cleared. They then have to merge from the trunk to their branch (to pick up latest changes), run and pass tests before they merge back to the trunk. Is there any rules for this style of SVN usage? 回答1: Limit trunk commits to a bot. That bot can do the conflict-free merge and commit to trunk. I've done just that; it's called

Stored Procedure Versioning

断了今生、忘了曾经 提交于 2019-12-18 16:38:16
问题 How do you manage revisions of stored procedures? We have a BI solution on SQL Server 2005 with hundreds of stored procedures. What would be a good way to get these into Subversion? What are your recommended tools to script stored procedures to files? 回答1: There are doubtless a bunch of off-the-shelf products you could buy (I think a few RedGate tools might come in handy here), as well as Visual Studio Team Suite - Database Edition. In light of purchasing something, why not consider using SQL

VisualSVN Server 3.2 - Unexpected HTTP Status 405

☆樱花仙子☆ 提交于 2019-12-18 16:30:50
问题 I installed VisualSVN Server on my machine for source control and when I try to access it via the Repo Browser I get the error: Unexpected HTTP Status 405 'Method Not Allowed' on '/!/%23WEB/view/head/ProjectA' Additional errors: PROPFIND request on '/!/%23WEB/view/head/ProjectA' failed: 405 Method Not Allowed. Accessing it via a browser works just fine. I installed many times VisualSVN Server and did not have this issue. Any ideas what could be the problem here? 回答1: I think you are trying to

Is it possible to encrypt the content stored in SVN?

喜夏-厌秋 提交于 2019-12-18 15:32:20
问题 If I am storing my source code in SVN on a shared hosting company, would it be possible to encrypt the content so EVEN if someone does have access to the repo they can't see the source in plain view? Is there a plugin for this? Otherwise I'd imagine it would be crazy implementing this oneself! 回答1: The correct answer here is either: Find a hosting provider you trust (or one that is compliant if regulatory issue are the problem) Host it yourself If the main concern is having a secure offsite

How to change subversion settings in xcode?

梦想与她 提交于 2019-12-18 15:10:33
问题 I've had subversion running in Xcode for a while. The integration of subversion has always hung by a thread. However my subversion server has changed its ip address ... and my xcode project still tries to look up the source on the old ip. I have changed the ip of the subversion server via the SCM menu in xcode ... however these changes don't seem to effect the project. Anyone got any idea how I change the subversion ip in the project? Cheers Rich 回答1: It's not Xcode, it's svn itself that

Deploying a Website from Subversion

↘锁芯ラ 提交于 2019-12-18 15:05:35
问题 I am new to subversion and am wondering how do you move from develoment to staging then production? I think I grasp the concept of creating branches made for releases as detailed here. But how do I actually deploy the branch? Ideally I could just set up a new website and copy the files over from the branch, but I am concerned about copying any svn bindings into production. If it is pertinent, this is a Visual Studio website project and I am using VisualSVN server, TortoiseSVN and Ankh to

SVN - delete a revision, or make an older revision the head

一世执手 提交于 2019-12-18 14:55:15
问题 I'm fairly new to SVN and I've never had to revert back to a previous revision, although I can get a copy of a revision from the repository okay. I'm using TortoiseSVN and the Visual Studio SVN plugin. I'd like to restore the trunk back to a previous revision. How can I restore the trunk - e.g. rollback to a previous revision and make this the head? thanks 回答1: What you need is a so-called reverse merge: svn merge -r HEAD:<rev_you_want_to_revert_to> See the Tortoise SVN merge documentation

Can't find git-svn on Mac OS X Leopard after installing via MacPorts

社会主义新天地 提交于 2019-12-18 14:45:11
问题 Okay people, I'm sure someone has had this issue and can help me out. I'm trying to get git-svn working on OSX Leopard (10.5.6). Using MacPorts I've run the install thus : sudo port install git-core +svn However, git-svn has not been installed and is not available. No errors came up during the lengthy dependency installation and so I'm at a loss. Thoughts would be greatly appreciated. 回答1: On my install at least, I have to invoke it as git svn <cmd> instead of git-svn <cmd> . 回答2: That's the

JAXB XJC Possible to suppress comment creation in generated classes?

孤街浪徒 提交于 2019-12-18 13:54:19
问题 Our project uses XJC to generate Java classes from an XSD. I'm using JAVA EE 6. When all the XSDs we have are re-generated, the generated classes include this comment at the top of the file: // Generated on: 2011.02.23 at 02:17:06 PM GMT Is it possible to suppress this comment? The reason is that we use SVN for version control, and every time we regenerate our classes, every single file shows as being changed in SVN, even though the only thing that differs is this comment. So I'd like to

Best way to replace a whole directory tree in Subversion?

天涯浪子 提交于 2019-12-18 13:16:32
问题 Within my Subversion project I have a few directories that contain other open source projects that my code needs. For example ffmpeg, freetype, matrixssl and a few others. What is the best way to update SVN to hold the the latest version of one of these projects? Essentially I will be doing the following (using ffmpeg as an example): 1) Rename current ffmpeg folder to ffmpeg.old 2) Download new version of ffmpeg from net 3) Make sure it and my code compile and work fine together 4) Update