svn

how to detect modified properties using SVN log

泄露秘密 提交于 2019-12-19 05:26:11
问题 Background: writing an automated release script to export changed files between versions from SVN and upload to remote server. The svn log command shows modified files and properties, but seems to not distinguish its verbose output between a content modification over property modifications. Am I reading this output wrong, or is there an easy way to get a list of changed files between revisions whilst ignoring prop changes Here's my sample cmd: #: svn log "someurl" -r 2210:HEAD -v -q Output: -

How do I configure the SVN HTTP proxy from the command line?

旧城冷巷雨未停 提交于 2019-12-19 05:24:43
问题 I script the set up of my build environment. (So the build process can bootstrap itself if it finds itself running on a clean image). As part of this process, certain dependencies are retrieved from public SVN repositories. The build machines sit behind a proxy, so I need to configure SVN to use the proxy. Several of the options that come immediately to mind are unpalatable for various reasons: I could edit the ~/.subversion/servers file manually, but I would far rather keep the build process

A example of a change that is NOT a conflict

依然范特西╮ 提交于 2019-12-19 05:21:42
问题 I'm trying to understand the details of the subversion merge commands. I think understanding the difference between a change that is also a conflict and a change that is not a conflict would help. This is a followup to this thread. 回答1: A change that is a conflict is when 2 people have both made a change to the same file in such a way that the two changes can not be automatically resolved. 1) Lets start with an example of a non-conflicting merge. Original file line1 line2 line3 Person A

git svn - Unrecognized URL scheme error

冷暖自知 提交于 2019-12-19 05:14:10
问题 I'm getting the following error on attempt to clone svn rep with git svn: eugene$ git svn clone https://my.site/svn/ here Initialized empty Git repository in /Users/eugene/Documents/workspace/test/here/.git/ Bad URL passed to RA layer: Unrecognized URL scheme for 'https://my.site/svn' at /usr/local/git/lib/perl5/site_perl/Git/SVN.pm line 148. svn checkout https://my.site/svn/ works just fine. I've re-run cpan SVN::Core and install finished fine, but still getting the error. 回答1: Apparently

How to access file information in a pre-commit hook using SharpSVN

我的梦境 提交于 2019-12-19 04:22:07
问题 I am new to SharpSVN and SVN in general. I am trying to implement a pre-commit hook that when the user commits a certain type of XML file; I am going to need to intercept the file and analyze it to ensure they included certain elements before I allow the file to be committed. Since it seems that SVN submits two arguments; the repository path and the transaction; I will need to use these two items to intercept the file. Does anyone know what I need to use in SharpSVN to get file information

Svn -> git migration with several trunk/branches/tags

半世苍凉 提交于 2019-12-19 03:45:14
问题 I have a single SVN repository with the following current structure: project1 branches trunk tags project2 branches trunk tags which originally had this structure: project branches trunk proj1 proj2 tags That is, the project was split into two separate "subrepositories" (or whatever you want to call that) Is there any way to migrate this to git without losing history ? Would svn2git be better that git-svn for this scenario? Is there any other migration tool? EDIT : I tried git svn clone as

Manage config file differences between development and production servers with SVN

﹥>﹥吖頭↗ 提交于 2019-12-19 03:32:10
问题 I have a few files of a .NET app that are different in the production server from the development server. For example: Web.config MasterPage.master account/account.aspx blog/Web.config and a few more... What is the best way to manage these differences with SVN? I've heard everything from maintaining a config folder in the trunk to creating a branch with the "different" files, then merging them into the release tag. I use SVN trunk for main development (stable) and tag the trunk when it's

SVN for Emacs: how do you set author name and save password?

你离开我真会死。 提交于 2019-12-19 03:22:35
问题 I can't seem to find this on google anywhere. I am trying to move to emacs from eclipse but I can't for the life of me figure out how to set my svn author name so it doesn't default the author name OR save the password so I don't have to type it in any each time. I am Ubuntu 8.10 if that matters. Any insight would be great. Thanks. 回答1: Which interface do you use? I prefer psvn, which says the following: Q3: How do I enter a username and password? A3: In the svn-status buffer press "s",

功能测试与项目实战之提交缺陷报告(三)

喜夏-厌秋 提交于 2019-12-19 02:35:46
说明:该篇博客是博主一字一码编写的,实属不易,请尊重原创,谢谢大家! 接着上一篇博客继续往下写 : https://blog.csdn.net/qq_41782425/article/details/103568475 八、SVN的安装使用 1.SVN的安装 说明: SVN分为服务器和客户端,博主以windows server2008 作为服务器,以windows7 作为客户机 准备工作: 在虚拟机中回到纯净版快照,来进行SVN的安装演示 1.1 安装服务器程序 在windows server 2008中进行安装VisualSVN-Server,傻瓜式安装 安装完成 1.2 安装客户端程序 在虚拟机windows7 x64中安装客户端TortoiseSVN 傻瓜式安装 1.3 安装客户端语言包 傻瓜式安装即可 2.SVN的使用 2.1 创建版本库 在VisualSVN Servers\Repositories上右键选择Creat New repository,创建新的版本库,并在文本框中输入库名称 创建名为Student的学生版本库后,右击该库新建文件夹 版本库架构如下(博主自己创建的,公司工作的时候大同小异) 2.2 安全配置(权限分配) 右键点击界面上的Users文件夹,选择create user 用户创建如下 右键点击界面上的Groups文件夹,选择create Group

How do I avoid checking in local changes to the SVN repository?

六月ゝ 毕业季﹏ 提交于 2019-12-19 02:34:08
问题 I have to make local changes to my project files in order to get it to run in a different environment. Twice now I accidentally checked those changes in (and messed up everyone else's running environment). There are probably a lot of better ways to set up our build, but since I work as a consultant on an established project I can't really change how the customer works. I've tried setting up a second branch in the same repository (which backfired, duplicating the entire tree in the root of