svn

svndumpfilter fails with “Invalid copy source path…” error

北城余情 提交于 2019-12-18 12:58:33
问题 I want to move part of my SVN repo offsite, onto an AWS instance & am following this page (Repository Maintenance) I have taken a dump of the whole repo (Windows commands): svnadmin dump c:\repo > all_repo Next is to filter it, to include only the project I am interested in (which is called "M1"). type all_repo | svndumpfilter include M1 --drop-empty-revs > m1 I know this is correct, as I have done it on some of the other projects already. On this project, it breaks with the error indicated

How do I suppress standard error output in PowerShell?

China☆狼群 提交于 2019-12-18 12:56:08
问题 In a PowerShell script automating some SVN tasks I have the following function: function SvnUrlExists($url) { svn info $url | out-null 2>&1 return $? } Since this explicitly tests whether some SVN repository URL exists, I am not interested at all in any error output. However, despite everything I found about redirecting stderr in PowerShell suggesting 2>&1 to redirect it to stdout , this still outputs an error message : svn: warning: W170000: URL 'blahblah' non-existent in revision 26762 svn:

How to retrieve files changed in range of revisions in Subversion?

廉价感情. 提交于 2019-12-18 12:50:53
问题 How would I retrieve all files from the repository, along with the folder structure, changed in a range of revisions, say from 1000-1920? 回答1: If you just want the list of changed paths, have a look at the --summarize option on diff. svn diff --summarize -r1000:1920 https://my.org/myrepo/ 回答2: That depends a little on what you intend to do with the data. If you're only interested in inspecting the data manually, you can do svn log -r1000:1920 -q -v | grep " M" | sort -u to see all modified

Eclipse svn ignore bin

扶醉桌前 提交于 2019-12-18 12:48:12
问题 Eclipse project, I have Subversion set to ignore the bin directory, and also within Eclipse I added bin to the list of ignored resources. However, every now and then Eclipse puts a .svn directory into bin anyway. This doesn't interfere with Subversion checkins (as the Subversion commandline client obeys the standing directive to ignore the entire bin directory) but it does mess up the display in TortoiseSVN. Is there a known fix or workaround for this? (Eclipse 3.5, Windows Vista.) 回答1: It

Version control system for Excel-VBA code [closed]

ぃ、小莉子 提交于 2019-12-18 12:46:06
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 2 years ago . I am looking for a version control system which I can use for the Code of VBA possibly in a form of add-in but similar to SVN or Git or even a commercial software. I know there is a discussion here and there however, they are older than 6 years and that is not exactly what I want to have. And I know one can use

Jenkins: invalid version of SVN working copy

做~自己de王妃 提交于 2019-12-18 12:45:59
问题 Our build server runs Jenkins 1.502 with Subversion plugin upgraded to version 1.45. This plugin uses svnkit-1.7.6-jenkins-1.jar . Also we have SVN client 1.7.8 installed. Jenkins successfully checks out source code from SVN repository. But when I go to workspace directory and try to run some svn command manually, it fails: # cd /var/lib/jenkins/jobs/myproject/workspace/ # svnversion svn: E155036: Working copy '/var/lib/jenkins/jobs/myproject/workspace' is too old (format 8, created by

Git-SVN with svn.pushmergeinfo: how to avoid self-referencing mergeinfo lines

北战南征 提交于 2019-12-18 12:26:13
问题 In recent versions of git, the configuration svn.pushmergeinfo was introduced: config key: svn.pushmergeinfo This option will cause git-svn to attempt to automatically populate the svn:mergeinfo property in the SVN repository when possible. Currently, this can only be done when dcommitting non-fast-forward merges where all parents but the first have already been pushed into SVN. We're using this to have a mixed environment where some developers use SVN and some use Git-SVN. This works great

Migrating Subversion Repositories across servers

吃可爱长大的小学妹 提交于 2019-12-18 12:22:11
问题 We're in the process of moving servers and one of the last items is moving over the svn repositories. There are about 10 gigs of various svn repositories. They were created using this command: svnadmin create --fs-type fsfs Server A(original) has svn 1.4 while Server B(target) has svn 1.6. My thought was to use rsync to migrate the whole set of repositories (they are all in 1 folder on the server), but I am worried that some things might either not get migrated or I need special switches for

Adding version control to an existing project

一个人想着一个人 提交于 2019-12-18 12:19:29
问题 I am working on a project that has grown to a decent size, and I am the only developer. We currently don't use any version control, but I definitely need to start. I want to use Subversion. What would be the best way to transfer an existing project to it? I have a test server that I use for developing new features, then transfer those files to the 2 production servers. Is there a tool that will automate the upload to the test, then the deployment to the live servers? All this is developed in

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