svn

How to setup the ideal collaboration repository setup?

早过忘川 提交于 2019-12-20 06:08:50
问题 I'm currently using subversion and tourtiseSVN. I am looking to revamp the way my web development team works. We work on inhouse developments for inhouse websites. We don't outsource. We would like to increase the number of team members working on an individual development on a particular product. At the moment, our setup only allows 1 member to work on a development at any one time. This is because we lack a 'staging' area before commiting to the source repository which eventually is added

SVN: Way to determine revision by comparing file or file content

旧巷老猫 提交于 2019-12-20 04:50:33
问题 I have a scenario where I have a file and I need to know what revision in source this file is. I may have hundreds of revisions on a particular file and have a file that matches one or more of those revisions. Is there any way in Tortoise, Cornerstone or through the command line to do this? Apologies if the question isn't the clearest. To be honest I'm not sure how to phrase what I'm looking for. I found a similar question about git here; GIT: determine revision based on a file 回答1: Cribbing

Pushing an existing svn repository to git

梦想与她 提交于 2019-12-20 04:24:52
问题 I'm using SVN and I'm not planning to migrate to Git for now. I'd like to try out AppHarbor but currently you must use Git to deploy code to AppHarbor. I'd like to continue using SVN but push to AppHarbor's git repository from time to time. Is there an easy way to achieve this? 回答1: You can create a git clone of your SVN repository with: git svn clone --stdlayout <URL-OF-YOUR-SVN-REPOSITORY> ... and keep that up to date by periodically running: git svn rebase ... in the directory created by

Google project hosting svn commit problem

岁酱吖の 提交于 2019-12-20 04:23:32
问题 When I try to commit my code with svn commit, it returns an error : svn: Commit failed (details follow): svn: Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/acf5cd6f-e8d7-476e-a572-a61a5d293586' How can this be fixed? 回答1: Try switching to https looks like this is a bug in Google Code system, see Google Code Bug #1916 来源: https://stackoverflow.com/questions/4553861/google-project-hosting-svn-commit-problem

Subversion diff --summarize only shows old paths

梦想与她 提交于 2019-12-20 04:16:15
问题 If I do this: svn diff --summarize --old http.../svn/project/trunk --new http.../svn/project/branches/branch I get a list like this: D http.../svn/project/trunk/deletedFile A http.../svn/project/trunk/addedFile M http.../svn/project/trunk/modifiedFile It only shows the old paths. Is there a way to get the new paths as well? I'm parsing this output, and I'd like to get these paths: http.../svn/project/branches/branch/deletedFile http.../svn/project/branches/branch/addedFile http.../svn/project

Subversion has stopped working with snow leopard install

走远了吗. 提交于 2019-12-20 04:15:30
问题 With the install of snow leopard access to subversion has stopped working, any one know how I can fix it? When I click on my repository I get list svn+ssh//yoda@192.168.0.6/library/subversion/respository/apps Error 210002 (Network connection closed unexpectedly Description: (null) Any help would be very gratefully received. 回答1: You seem to be connecting through SSH. First try to manually ssh into the remote server. ssh -vvv yoday@192.168.0.6 Since it's a local address, I assume it's another

Using SQL Server back end for Subversioning Repositories

こ雲淡風輕ζ 提交于 2019-12-20 03:30:47
问题 Has anyone attempted to use SQL Server Database as a Subversion file system back end? So that all Subversion Repositories would be stored in a SQL Database instead of a flat file system? Make for easier backups and reporting? 回答1: This is not feasible. The entire core of subversion would need to be rewritten. Subversion does support a Berkeley db implementation, and with the proper tools, this db could be exported to mssql for reporting. 回答2: Subversion has two different repository formats.

How to reuse eclipse launch file in a new project

不想你离开。 提交于 2019-12-20 03:23:38
问题 I just checked out an svn project in eclipse as a java project. There is are couple of run launch files in it that i want to reuse but dont know how to point 'Run' to see those launch files or use it. Any tip? thanks 回答1: Usually these are automatically picked up by the project and placed in the run menu. If they are not, Right click on the .launch file then choose 'Run As' and select the first option. This will run using that run configuration. 来源: https://stackoverflow.com/questions/674669

Linux CentOS7 通过 yum 搭建 svn 服务器,并配置权限

自古美人都是妖i 提交于 2019-12-20 02:48:50
1,使用 yum 安装 svn 服务器 yum -y install subversion rpm -ql subversion -- 改命令可以查看 svn 的安装位置 2,创建仓库根目录,可任意选择拥有读写权限的目录,并在根目录下 svn 版本库 mkdir /usr/local/svn svnadmin create /usr/local/svn/hwq 3,查看是否顺利创建完成,依次执行下面命令,内容如下即为创建成功 cd /usr/local/svn/hwq/ ll 4,进入配置文件目录 cd /usr/local/svn/hwq/confll 5,配置文件 authz -- 负责账号权限的管理,控制账号是否读写权限 [/] 表示跟路径,如果要限定路径,可以设置如 [/xx/xx] huangweiqiang = rw 表示账号 huangweiqiang 拥有目录的读写权限 6,配置文件 passwd -- 负责账号和密码的用户名单管理 huangweiqiang = 123456 账号 = 密码 7,配置文件 svnserve.conf -- svn服务器配置文件,加入以下配置,每一项配置见图中注释 ,这里暂时不配置 sasl 加密模式 anon-access = none auth-access = write password-db = passwd authz

Why doesn't Subversion allow to commit .htaccess files?

孤街醉人 提交于 2019-12-20 02:29:26
问题 I can't commit .htaccess files from my Windows SVN client (TortoiseSVN). The error that is returned is: Could not read status line: Existing connection was forcibly closed by the remote host. And here is basically what my vhost looks like in Apache: <VirtualHost *:80> DocumentRoot /var/www/mydomain.com/legacy/trunk/html ServerName mydomain.com <Directory /var/www/> FileETag MTime Size AllowOverride All </Directory> <Directory /var/www/tools> AllowOverride All </Directory> <Location /svn> DAV