tortoisesvn

SVN: Moving repository trunk to another's branch (with history)

自作多情 提交于 2019-12-18 20:49:42
问题 I'm working with an SVN setup with a lot of repositories. I'm trying to consolidate some by moving the trunk of one into the branch of another (the old ones are themed versions of the new one, minus some code fixes I'll be applying later, so it makes sense to me). Short version, I want to go from RepositoryA/trunk to RepositoryB/branches/RepAName. Ideally, I'd like to maintain the history. I could do an export -> import, but that loses the history and so it isn't ideal. I can't do a dump via

Where is svn.exe for TortoiseSVN? [duplicate]

删除回忆录丶 提交于 2019-12-18 18:33:58
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Where is svn.exe in my machine? I try change username for my repository with command svn propset --revprop svn:author I cannot find program svn.exe . What is wrong 回答1: Current versions of TortoiseSVN do not install command-line SVN client by default. You'll have to: Select it explicitly in the installer (see comment by Stefan) Download it and install it separately from http://subversion.apache.org/packages.html

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

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

Linking Tortoise SVN revision number to assembly version

泄露秘密 提交于 2019-12-18 12:19:26
问题 I'm developing a program in C# .net in visual studio and version controlling it with tortoise SVN. at present I'm creating the assembly version based on the build number. Is there a way I can link the final part of a projects assembly version to the revision number in tortoise SVN instead, eg: pseudo code: [assembly: AssemblyVersion("1.0.0."+SvnRevisionNumber.ToString())] This would ensure that my assemblies were named after, not their build number, but after the last revision number

How can I publish a subversion repository to a local IIS?

一世执手 提交于 2019-12-18 11:57:49
问题 At work, we have a windows server 2003 with IIS and Subversion installed. We use it to publish and test locally our ASP.NET websites. Every programmer has Tortoise installed on his PC and can update/commit content to the server. Hosting the repositories is working fine. But the files kept in those repositories needs then to be copied to our local IIS (virtual directories). What is an easy way to publish those subversion repositories to our local IIS? Edit: Thanks to puetzk I added a simple

SVN commands does not appear in context menu

大憨熊 提交于 2019-12-18 11:38:24
问题 I've just downloaded and installed SVN Tortoise, but no commands appear on the menu. How is that possible? 回答1: Did you restart your machine? Update: I ran into the same problem myself! It happened when I installed version 1.6 over 1.5. When I restarted my machine, I found Tortoise entries in Start Menu but not via context menu. When I clicked on "Settings" an error message appeared. So, I uninstalled 1.6 and installed it anew. Now it's working again! Yes, available through context menu. I

SVN-分支的合并和同步

谁都会走 提交于 2019-12-18 10:54:41
先说说什么是branch。按照Subversion的说法,一个branch是某个development line(通常是主线也即trunk)的一个拷贝,见下图: branch存在的意义在于,在不干扰trunk的情况下,和trunk并行开发,待开发结束后合并回trunk中,在branch和trunk各自开发的过程中,他们都可以不断地提交自己的修改,从而使得每次修改在repository中都有记录。 设想以下场景,如果你的项目需要开发一个新功能,而该功能可能会修改项目中的绝大多数文件,而与此同时,你的另一位同事正在进行bug fix,如果你的新功能不在branch中开发而直接在trunk中开发,那么你极有可能影响另一位同事的bug fix,他/她在bug修复中可能会遇到各种各样的问题,因为你的频繁提交代码引入了过多的不稳定因素。你可能会说,那我在开发的过程中不提交不就行了,等到我全部开发结束我再提交,是,你可以这么做,那还要版本控制干什么呢?也许等到你最后提交代码的时候(也许一周,也许两周?),你会发现有一大堆conflict等着你resolve。。。 那么,正确的做法是什么?使用branch,从trunk创建branch,然后在你的branch上开发,开发完成后再合并到trunk中。 关于branch先讲到这里,下面说说什么叫做合并。很好理解,当branch开发完成后(包括必要的测试

Is it safe to use a subversion feature branch after reintegrate-merged to trunk?

不问归期 提交于 2019-12-18 10:54:07
问题 Must a feature branch be deleted after it's merged (reintegrated) back to trunk? I prefer to constantly merge changes back and forth from my feature branch - I believe this keeps the conflicts to a minimum. Yet I understand that once you use the reintegrate merge to trunk, a feature branch should be deleted. Is it so? Why? What can I do to circumvent this? Update I'm asking about technical problems that come from the tool, not "methodology concerns". I intend to keep working on the feature

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