svn

linux 安装svn

时间秒杀一切 提交于 2019-12-19 09:09:07
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> linux 安装svn 使用yum安装非常简单 1: yum install subversion 2:在/usr/local创建svn目录 mkdir svn 3:svnadmin create /usr/local/svn 4: cd /usr/local/svn/conf 5:创建用户密码 vi passwd yuyangfan=123456 lixiang=123456 6:创建用户权限 yuyangfan=rw lixiang=rw *= 打开下面的5个注释 anon-access = read #匿名用户可读 auth-access = write #授权用户可写 password-db = passwd #使用哪个文件作为账号文件 authz-db = authz #使用哪个文件作为权限文件 realm = /home/svn # 认证空间名,版本库所在目录 最后一行的realm记得改成你的svn目录 打开注释时切记前面 不要留有空格 ,否则可能有问题(网上说的,我没有亲测) svnserve -d -r /usr/local/svn(启动) killall svnserve(停止) 上述启动命令中, -d 表示守护进程, -r 表示在后台执行。停止还可以采用杀死进程的方式: 来源:

How to convert Windows path to file: URL, in a batch file, suitable for SVN command line use

人走茶凉 提交于 2019-12-19 09:03:19
问题 In a Windows-based SVN installation (using CollabNet Subversion Edge), I have a post-commit hook batch file where I construct a repository folder name, and I need to call svnsync with a file: URL pointing to that Windows folder. The question now is: How can I convert a Windows folder or file name to a file: URL, in such a way that that URL is at least acceptable for the SVN command line tools? 回答1: In a batch file, if the variable FILE_OR_FOLDER_NAME contains the (absolute or relative, local

Recover svn from directory backup after server failure

拟墨画扇 提交于 2019-12-19 08:58:15
问题 The machine hosting our svn server failed. We were able to recover the C:\Repositories\ directory. How do we migrate this to a new host? 回答1: Just install svn as normal on the new server, copy the Repositories directory to the new server, and point svn at the directorys containing your repositorys. 来源: https://stackoverflow.com/questions/610652/recover-svn-from-directory-backup-after-server-failure

Recover svn from directory backup after server failure

浪子不回头ぞ 提交于 2019-12-19 08:58:07
问题 The machine hosting our svn server failed. We were able to recover the C:\Repositories\ directory. How do we migrate this to a new host? 回答1: Just install svn as normal on the new server, copy the Repositories directory to the new server, and point svn at the directorys containing your repositorys. 来源: https://stackoverflow.com/questions/610652/recover-svn-from-directory-backup-after-server-failure

Publish Git repository to SVN

送分小仙女□ 提交于 2019-12-19 08:43:08
问题 I and my small team work in Git, and the larger group uses Subversion. I'd like to schedule a cron job to publish our repositories current HEAD s every hour into a certain directory in the SVN repo. I thought I had this figured out, but the recipe I wrote down previously doesn't seem to be working now: git clone ssh://me@gitserver/git-repo/Projects/ProjX px2 cd px2 svn mkdir --parents http://me@svnserver/svn/repo/play/me/fromgit/ProjX git svn init -s http://me@svnserver/svn/repo/play/me

TortiseSVN svn+ssh Error: Unable to connect to a repository at URL … Network connection closed unexpectedly

 ̄綄美尐妖づ 提交于 2019-12-19 07:26:07
问题 I'm having problems accessing an SVN repository using TortoiseSVN 1.7.8. The SVN repository is on a CentOS 6.3 box with openssh 5.3p1:81.el6 and appears to be functioning correctly. # svnadmin --version # svnadmin, version 1.6.11 (r934486) I can access the repository from another CentOS box with this command: svn list svn+ssh://USER@xxx.xx.xx.xxx/var/svn/joetest But when I attempt to browse the repository using TortiseSVN from a Win 7 workstation I'm unable to do so using the following path:

Aptana 1.5 “svn: Error resolving case of”

时光总嘲笑我的痴心妄想 提交于 2019-12-19 07:25:25
问题 I've installed Aptana 1.5 today but after the install all my SVN projects give me an error like this when I try to commit, update, repair, etc: Access is denied. svn: Error resolving case of 'C:\Users\Brayn\My Documents\Aptana Studio Workspace\PentruConstrucii' I've uninstalled my previous version of aptana, reinstalled aptana 1.5, changed my workspace and it still gives me this error. Do you know what could it be ? 回答1: " C:\Users " means Windows Vista or 7... It may be related the way SVN

AnkhSVN breaks ASP.NET sharing permissions with SVN 1.7

巧了我就是萌 提交于 2019-12-19 07:23:53
问题 The Background (skip to the bottom if you want the question) Recently I upgraded an SVN repository (hosted on assembla) to SVN 1.7. After doing so, we started to intermittently encounter lots of File Access Denied errors on the ASP.NET site pages that sit in the local working copy of the repository. Some folders also started to get weird file permissions (they became marked read-only) and user sharing got removed from them. These problems would only start occurring after an update/commit

SVN与Git比较的优缺点差异

[亡魂溺海] 提交于 2019-12-19 06:05:22
(1).安装SVN  1)安装SVN [root@youxi1 ~]# yum -y install subversion mod_dav_svn [root@youxi1 ~]# cat /etc/services | grep svn svn 3690/tcp # Subversion  //SVN的端口号。3690 svn 3690/udp # Subversion svnetworks 2973/tcp # SV Networks svnetworks 2973/udp # SV Networks svnet 3413/tcp # SpecView Networking svnet 3413/udp # SpecView Networking ml-svnet 4171/tcp # Maxlogic Supervisor Communication  2)创建目录 [root@youxi1 ~]# mkdir /webdept  //创建存放版本库的主目录 [root@youxi1 ~]# svnadmin create /webdept/www.youxi1.com  //创建两个版本库 [root@youxi1 ~]# svnadmin create /webdept/www.test1.com    注意:svnadmin是由subversion软件包提供。  

svn + ssh without password from command line?

断了今生、忘了曾经 提交于 2019-12-19 05:58:05
问题 I want to do svn update /Users/radek/Sites/3.0.5/ -r HEAD --force without the need of typing the password. svn connects to our repository server but I am not sure under what username (how can I find out?). I guess it would be either root or radek The password I type for svn to proceed is the same like root's one on repository server so I added my public key to root's authorized_keys file. So I ssh to repository server without typing password but it did not affect svn asking for password at