svn

Error updating changes svn

橙三吉。 提交于 2020-01-14 07:04:51
问题 I have PHPStorm installed and i open a directory containing a PHP project with SVN. Under the SVN tab in the Changes i encounter the following error: Error updating changes: svn: E155021: The client is too old to work with the working copy at "..." (format 31). Some ideas? I have TortoiseSVN 1.7.7 installed, when i open the project the first time everything worked great, but on further opening the above error appear. 回答1: Working copy format has changed in Subversion 1.8, so after upgrading

git svn clone died of signal 11 on OSX

左心房为你撑大大i 提交于 2020-01-14 07:04:06
问题 I'm trying to migrate a project from svn to git. I was using the osx svn package, but I also tried installing with homebrew. I keep getting this same error. git svn clone http://myserver/myrepo error: git-svn died of signal 11 Version information: git --version git version 2.2.1 svn --version svn, version 1.7.17 (r1591372) compiled Sep 18 2014, 13:06:44 I'm running Yosemite. 回答1: git svn executes git-svn which is a Perl program which uses bindings to libsvn and those bindings are touchy. If

git svn clone died of signal 11 on OSX

房东的猫 提交于 2020-01-14 07:04:05
问题 I'm trying to migrate a project from svn to git. I was using the osx svn package, but I also tried installing with homebrew. I keep getting this same error. git svn clone http://myserver/myrepo error: git-svn died of signal 11 Version information: git --version git version 2.2.1 svn --version svn, version 1.7.17 (r1591372) compiled Sep 18 2014, 13:06:44 I'm running Yosemite. 回答1: git svn executes git-svn which is a Perl program which uses bindings to libsvn and those bindings are touchy. If

How to get tree structure from SVN using java

Deadly 提交于 2020-01-14 03:55:10
问题 Is there any way to get the SVN structure as a tree struture in java? For Eg: if i specify a path http://sample.com/repository/pag/branches/dev/Structure/services/ I want what all entries under services and if it again contains a directory its enteries also in a tree? Thanks. Note : i have seen the getDir() . But here i have to keep on iterating it. 回答1: If you need all the tree, you may do that with "status" request with report telling that you have an empty working copy. One "status"

Importing local file dir into SVN repo with TortoiseSVN

旧城冷巷雨未停 提交于 2020-01-14 03:21:10
问题 This is my first time trying to use any SCM so please bear with me. Following the SVN manual, I create a repo in an empty directory. All good. Then I try to import an existing project folder. I'm using the shell command but it's like this: Import C:\Users\aaa\SVN\proj to file:///C:/proj_2 Unable to open an ra_local session to URL Unable to open repository 'file:///C:/proj_2' Finished! I'm probably doing something very incorrectly. Thanks. 回答1: This is a quick and dirty trick but you can use

svn备份脚本

本秂侑毒 提交于 2020-01-13 19:33:06
#!/bin/bash SRCPATH=/data/svnrepos/softdev/; #定义仓库parent路径 DISTPATH=/data/svnbak/full/`date +%Y%m%d%H%M`/ ; #定义存放路径; DISTPATH2=/data/svnbak/tar/ mkdir -p $DISTPATH echo $DISTPATH svnadmin hotcopy $SRCPATH $DISTPATH tar -zcPvf $DISTPATH2/$(date +%Y%m%d%H%M).tar.gz $DISTPATH cd /data/svnbak/full/ rm -rf /data/svnbak/full/* cd $DISTPATH2 find $DISTPATH2/ -mtime +3 -name "*.tar.gz" -exec rm -rf {} \; 来源: https://www.cnblogs.com/kylingx/p/12188741.html

git的基本介绍和使用

倾然丶 夕夏残阳落幕 提交于 2020-01-13 15:03:55
前言:从事iOS开发一年多以来,一直使用svn管理源代码。对svn的特点和弊端已经深有体会。前些天双十二前后,项目工期紧张到爆,起早贪黑的加班,可谓披星戴月,这还不止,回到家中还要疯狂的敲代码。那么问题来了,公司svn服务器是内网服务器,在家里无法访问,提交/更新代码就成了问题。跟技术总监(笔者公司为初创型小公司,直接和技术总监对话)沟通后,技术总监同意了把svn服务器改为外网服务器。但是,这并不是好的解决办法,毕竟svn服务器挂到外网上,从安全性上总是说不过去。于是乎,git成了我心中取代svn的上上策。昨天上班开会就跟CTO提出使用git管理代码的建议,他也愉快的答应了。 但是,多数人对git并没有像对svn这般了解,所以,针对于git和svn的特点和区别,我希望能够通过这篇文章拨开大家心中的疑惑。 简介 git是一款开源的分布式版本管理工具,git的诞生也是相当传奇的,由Linux之父-Linus Benedict Torvalds开发而来,当初Linus Benedict Torvalds仅仅是为了辅助Linux内核的开发才一并开发了这个至今为止世界上最快的、最简单的版本管理工具。关于这个传奇的故事,笔者就不在此赘述。 目前,git虽然很流行,但也仅仅是在国外。在国内,多数公司还在使用svn进行版本控制,不过不用担心,据笔者所知,已经有很多大公司(像BAT这样的互联网公司

How to deal best with SVN and local changes, that should not be committed?

别说谁变了你拦得住时间么 提交于 2020-01-13 13:12:41
问题 I have checked out some projects from SVN repository. To build those projects I have to adjust some configurations (e.g. the classpath and property files) to fit the local enviroment. Now I don't want to commit those changes to the repository. So setting an svn:ignore may help. But what if I want to get updates from the repository without committing those files? Is there any option that allows me to get updates and prevents me from committing? Or what is the best way to deal with local

How to deal best with SVN and local changes, that should not be committed?

百般思念 提交于 2020-01-13 13:12:32
问题 I have checked out some projects from SVN repository. To build those projects I have to adjust some configurations (e.g. the classpath and property files) to fit the local enviroment. Now I don't want to commit those changes to the repository. So setting an svn:ignore may help. But what if I want to get updates from the repository without committing those files? Is there any option that allows me to get updates and prevents me from committing? Or what is the best way to deal with local

How to deal best with SVN and local changes, that should not be committed?

倖福魔咒の 提交于 2020-01-13 13:12:28
问题 I have checked out some projects from SVN repository. To build those projects I have to adjust some configurations (e.g. the classpath and property files) to fit the local enviroment. Now I don't want to commit those changes to the repository. So setting an svn:ignore may help. But what if I want to get updates from the repository without committing those files? Is there any option that allows me to get updates and prevents me from committing? Or what is the best way to deal with local