Re: Blank lines
You should wrapper the diff command svn diff --diff-cmd 'diff -x -w' Brent From: Branko Čibej To: users@subversion.apache.org Sent: Wednesday, May 4, 2016 11:01 PM Subject: Re: Blank lines On 04.05.2016 22:58, Daniel Shahaf wrote: > Eric Johnson wrote on Wed, May 04, 2016 at 09:42:53 -0700: >> On 5/4/16 4:43 AM, Dariusz Staniak wrote: >>> How can I force >>> svn status >>> not to indicate files with added/removed blank lines as modified? >> You can't. Subversion has to treat all changes to files as relevant. >> Consider something like Markdown - an extra blank line means a paragraph >> break. In code, where inserting a blank line might help readability. > Not quite. > > Internally, Subversion does have to use strict byte-for-byte comparisons > (since committed files are preserved byte-for-byte in the repository). > > However, that has no bearing on the sense of comparison user-facing > logic, such as 'diff' and 'status', should use: these could implement > any sort of comparison deemed useful. In particular, it might be useful > for them to also be able to answer the question "What are all the files > that have non-whitespace changes?". Not 'status' -- 'svn status' should always show what 'svn commit' will send to the server. But 'diff', I agree, could be smarter. For example, right now, 'svn diff --summarize -x -w' will mention files that contain only whitespace changes, even though 'svn diff -x -w' will show an empty diff for those files. -- Brane
Re: svnsync error : Error while replaying commit
我也遇到了该问题Error while replaying commit,有些库用下面同样的步骤操作是没问题的,但是有些库就报这个错,不知道为什么,麻烦大家遇到过解决了的回答下,谢谢 我的操作步骤是 1、将脚本aapost-commit.bat放置到SVN主服务器相对应项目的hooks文件里, 例如:\\192.168.27.1\d$\SVN\c3m-video\hooks "C:\Program Files (x86)\Subversion\bin\svnsync.exe" sync --non-interactive svn://192.168.27.88/c3m-video --username admin --password cmadmin 修改下面一行中的备份服务器IP和项目名 2、将脚本Svn Start Server.bat放置在备份服务器SVN文件的同目录下 svnserve -d -r e:\SVN 修改对应的存储盘符 3、将脚本pre-revprop-change.bat放置在备份服务器相应项目的hooks文件夹下。例如: \\192.168.27.1\d$\SVN\c3m-video\hooks 二、操作命令 (在备份服务器上操作) 1、连接 svnsync init svn://192.168.27.88/C3M-EMS svn://192.168.27.1/C3M-EMS 2、同步 svnsync sync svn://192.168.27.88/MVSS --username admin --password cmadmin 主服务是Windows sever 2008 R2,备份服务器是Windows sever 2008 R2 SVN服务版本为Setup-Subversion-1.7.4 -- View this message in context: http://subversion.1072662.n5.nabble.com/svnsync-error-Error-while-replaying-commit-tp156531p196592.html Sent from the Subversion Users mailing list archive at Nabble.com.
Re: Migrate svn, version 1.6.11 (r934486) to svn verion 1.9.3
Is an upgrade needed prior to migrating a repo if going to another version of svn? I wonder if 1.9.3 is supported on CentOS 5.8 From: "Gronde, Christopher (Contractor)" To: "Brandon L. Wisenburg" Sent: Thursday, May 5, 2016 7:40:38 AM Subject: RE: Migrate svn, version 1.6.11 (r934486) to svn verion 1.9.3 I am actually doing the same exact thing and this is the first time I’ve upgraded SVN. The installer I got from WanDISCO and It seems pretty self-explanatory. Our intention is to do an in-place upgrade and then focus on transferring from RHEL6 to RHEL7 later and probably move from authenticating from FreeIPA to Active Directory. If you have any tips on upgrading I’d appreciate that as well! From: Brandon L. Wisenburg [mailto:bran...@wisenburg.com] Sent: Wednesday, May 04, 2016 10:27 PM To: users@subversion.apache.org Subject: Migrate svn, version 1.6.11 (r934486) to svn verion 1.9.3 Hello All. I am working on a project to migrate a repo to a new server that is more up-to-date and runs a newer OS and newer version of subversion. I've done this before, between similar versions of subversion. I was wondering, are there any got ya's that I should be aware of regarding migration a 1.6.11 svn to 1.9.3? Does it matter much the different versions? Does anyone have any insight and experience they'd like to share? Many Thanks.