svn

Format SVN diff as a side-by-side comparison

非 Y 不嫁゛ 提交于 2019-12-20 09:00:10
问题 I wanted to produce a side by side SVN diff instead of the usual SVN diff output. Is there any way to get this sort of output ? 回答1: You can specify a custom diff command: svn --diff-cmd "diff" --extensions "-y" diff (Or then perhaps even use tools like sdiff) 回答2: cdiff can display side by side , incremental , and colorful diff, see its home page for detail and demo at https://github.com/ymattw/cdiff 回答3: svn diff --diff-cmd 'diff' -x '--side-by-side -W230' FILENAME Tune the "-W230" to

Subversion post-merge tree conflict - “local delete, incoming edit upon merge”

不羁的心 提交于 2019-12-20 08:57:54
问题 I did a merge between the trunk and a branch. On the trunk, there is a folder, let's say templates/Toto. On the branch, everything but the folder Toto is there (not a local delete, Toto is simply not in the repo). After I performed the merge (I tried several times), I always end up with a freaking tree conflict "local delete, incoming edit upon merge". However, as I stated, this is NOT a local delete. What is the proper way to solve this? By proper, I definitely don't mean manual copy of Toto

How can I speed up SVN updates?

眉间皱痕 提交于 2019-12-20 08:57:45
问题 We have a rather large SVN repository. Doing SVN updates are taking longer and longer the more we add code. We added svn:externals to folders that were repeated in some projects like the FCKeditor on various websites. This helped, but not that much. What is the best way to reduce update time and boost SVN speed? 回答1: If it's an older SVN repository (or even quite new, but wasn't setup optimally), it maybe using the older BDB style of repository database. http://svn.apache.org/repos/asf

What is your favorite web app deployment workflow with SVN?

本小妞迷上赌 提交于 2019-12-20 08:46:10
问题 We are currently using a somewhat complicated deployment setup that involves a remote SVN server, 3 SVN branches for DEV, STAGE, and PROD, promoting code between them through patches, etc. I wonder what do you use for deployment in a small dev team situation? 回答1: trunk for development, and a branch (production) for the production stuff. On my local machine, I have a VirtualHost that points to the trunk branch, to test my changes. Any commit to trunk triggers a commit hook that does an svn

Integrating Fogbugz with TortoiseSVN with no URL/Subversion backend

删除回忆录丶 提交于 2019-12-20 08:44:57
问题 I've got TotroiseSVN installed and have a majority of my repositories checking in and out from C:\subversion\ and a couple checking in and out from a network share (I forgot about this when I originally posted this question) . This means that I don't have a "subversion" server per-se. How do I integrate TortoiseSVN and Fogbugz? Edit: inserted italics 回答1: I've been investigating this issue and have managed to get it working. There are a couple of minor problems but they can be worked-around.

Best way to link Redmine issue to SVN revision

家住魔仙堡 提交于 2019-12-20 08:40:27
问题 We are using Redmine for issue and bug tracking. We added SVN integration but, by doing this, it just shows SVN revisions in activity. It would be great to see all SVN changes caused by a bug or issue. But it does not seem to be possible. Is there a way to do that? If not Redmine, which is the best alternative tracking system to achieve this? 回答1: We add the issue number in svn commit message and it's recognized automatically. svn ci -m "incorrect encoding fixed (refs #2345)" Later you'll be

SVN+SSH and Sourceforge

眉间皱痕 提交于 2019-12-20 08:39:02
问题 I'm new to both Sourceforge and SVN (SilkSVN on Windows). I managed to check out a project using svn co --username=zeroth123 svn://zeroth123@svn.code.sf.net/p/stddecimal/code/trunk stddecimal-code However, every time I try and use ssh (so I can check in for example) it fails with > svn co --username=zeroth123 svn+ssh://zeroth123@svn.code.sf.net/p/stddecimal/code/trunk stddecimal-code svn: E720087: Unable to connect to a repository at URL 'svn+ssh://zeroth123@svn.code.sf.net/p/stddecimal/code

Compare files between two branches in TortoiseSVN

允我心安 提交于 2019-12-20 08:31:56
问题 I know how to do this in SVN, svn diff http://svn.example.com/branches/A/File1.txt http://svn.example.com/branches/B/File1.txt But there has to be a less painful way to do this in TortoiseSVN. You would think that you could do it from the Show Log, but it appears to only show revisions on the current branch. 回答1: Go to the repository browser (<right click>/TortoiseSVN/Repo-browser/<enter URL>). Open right click menu on branch B, select 'Mark for comparison'. Then open right click menu on

How do you include/exclude a certain type of files under Subversion?

旧时模样 提交于 2019-12-20 08:29:51
问题 I'm getting confused with the include/exclude jargon, and my actual SVN client doesn't seem to have (or I've been unable to find it easily) a simple option to add or remove a certain type of files for version control. Let's say for example I've added the entire Visual Studio folder, with its solutions, projects, debug files, etc., but I only want to version the actual source files. What would be the simplest way to do that? 回答1: You're probably safest excluding particular filetypes, rather

.NET: Large revision numbers in AssemblyVersionAttribute

 ̄綄美尐妖づ 提交于 2019-12-20 08:28:02
问题 We have the convention of versioning our builds as [major].[minor].[micro].[revision], e.g. 2.1.2.33546. Our build-script automatically updates an AssemblyInfo.cs file containing [assembly: AssemblyVersion("x.y.z.w")] in order to embed the version-number in the assembly. But our Subversion-repository just reached revision #65535, which broke our build. It turns out that each number in the version-number has a maximum value of 65534 (probably due to a Windows-restriction). Have you encountered