svn

Subversion - where should the svn:externals come from?

[亡魂溺海] 提交于 2020-01-03 17:30:36
问题 I am about to establish a rule at work here that all svn:externals references should come from the one of the other project's tag, never from its trunk or from any of its branches. Is this a reasonable rule or do you see problems / issues with this approach? I am trying to achieve a stable development environment and I wonder if this rule would make development slower or more difficult. 回答1: Your concern is that a project with "svn:externals" can change without any commits to that project.

XCode's svn “abort trap: 6” message

試著忘記壹切 提交于 2020-01-03 17:09:14
问题 I've discovered problem with svn tool after updating XCode to version 4.4. I receive "Abort trap: 6" message every time I try to execute any command like list, checkout, etc. For example: berec-Mac:~ berec$ /Applications/Xcode45-DP3.app/Contents/Developer/usr/bin/svn list https://source.com/mysource Abort trap: 6 Thank you in advance for advise. 回答1: Solution is here. The core of my problem was the Neon svn module. To resolve XCode's svn client I just replaced Xcode's svn binary by svn binary

SVN error: “Can't write to connection: An existing connection was forcibly closed by the remote host.”

不问归期 提交于 2020-01-03 16:01:51
问题 When attempting to commit changes to SVN, I receive the following error: Error: Commit failed (details follow): Error: While preparing 'C:\Users\dan\Documents\Visual Studio Error: 2008\Websites\admin\trunk\bin\SmtpDotNet.dll' for commit Error: Can't write to connection: An existing connection was forcibly closed by the Error: remote host. I am running TortoiseSVN 1.6.9 and Subversion 1.6.12, the latest and greatest. Here are the facts uncovered so far: It makes no difference how many files I

migrating data from VSS to SVN

陌路散爱 提交于 2020-01-03 15:37:28
问题 How do i migrate my data from VSS to SubVersion?? 回答1: It depends on whether you want to take the VSS Meta Data with you. If yes, have a look at PowerAdmin or Vss2SVN on Tigris If no, just to a search of the Code Folders on your machine to remove all .scc & .vss files and then dump that code into your SVN Repo in the standard way. EDIT: Looks like Vss2SVN Development on Tigris has been parked. 回答2: there's a better migration tool on Codeplex, called (imaginatively) VSS2SVN. It works very well

grep and sed equivalent in PowerShell

孤街浪徒 提交于 2020-01-03 12:33:28
问题 I am trying to do the following statement in PowerShell svn info filename | grep '^Last Changed Date:'| sed -e 's/^Last Changed Date: //' I have tried this: svn info filename | Select-String '^Last Changed Date:' I am expecting below output Thursday, December 20, 2018 4:50:40 AM 回答1: To remove the leading label you could use a capture group with the RegEx pattern. svn info filename | Select-String '^Last Changed Date: (.*)$' | ForEach-Object{$_.Matches.Groups[1].Value) Or taking Ansgars

Subversion dumping last `n` revisions

拈花ヽ惹草 提交于 2020-01-03 11:32:49
问题 I'm trying to dump the last 500 revisions from an SVN repository (to reimport as new repo) using... svnadmin dump /path/to/repos > dump.dmp -r2000:HEAD But the dump doesn't seem to stop and the dump file is reaching 3gb in size (a full dump 1:HEAD is only 600mb) What am I doing wrong here?! 回答1: Try the following: svnadmin dump -r2000:HEAD /path/to/repos > dump.dmp 来源: https://stackoverflow.com/questions/10106983/subversion-dumping-last-n-revisions

Subversion dumping last `n` revisions

白昼怎懂夜的黑 提交于 2020-01-03 11:32:12
问题 I'm trying to dump the last 500 revisions from an SVN repository (to reimport as new repo) using... svnadmin dump /path/to/repos > dump.dmp -r2000:HEAD But the dump doesn't seem to stop and the dump file is reaching 3gb in size (a full dump 1:HEAD is only 600mb) What am I doing wrong here?! 回答1: Try the following: svnadmin dump -r2000:HEAD /path/to/repos > dump.dmp 来源: https://stackoverflow.com/questions/10106983/subversion-dumping-last-n-revisions

Unable to svn diff using meld

﹥>﹥吖頭↗ 提交于 2020-01-03 10:22:35
问题 I want to use meld to view the difference between revisions. I installed meld and then executed in the project directory: svn diff -r 2165:2182 --diff-cmd meld but it thows up the following error: Index: app/models/college_friends_count.rb =================================================================== svn: E200012: Process 'meld' failed (exitwhy 2) Can anybody tell me what is going wrong here? 回答1: I believe E200012 means the underlying process (meld) exited with a non-zero exit code.

Unable to svn diff using meld

耗尽温柔 提交于 2020-01-03 10:22:08
问题 I want to use meld to view the difference between revisions. I installed meld and then executed in the project directory: svn diff -r 2165:2182 --diff-cmd meld but it thows up the following error: Index: app/models/college_friends_count.rb =================================================================== svn: E200012: Process 'meld' failed (exitwhy 2) Can anybody tell me what is going wrong here? 回答1: I believe E200012 means the underlying process (meld) exited with a non-zero exit code.

svn command line from eclipse

二次信任 提交于 2020-01-03 08:54:29
问题 Hello is there a way to use svn command line from eclipse? Within eclipse in my project browser i can righclick and then click team and than i have something like svn. Not sure which plugin it is. But it doesn't have button's to for example ignore files for uploading. That's why I want to to it command line. And my question is how to do it. Ok so how can I use it from command line in windows xp? 回答1: The plugin you are probably using is Subclipse. It should have an "Add to svn:ignore" option.