svn

How do you stop SVN Checkout from bringing back files that were deleted from the project?

僤鯓⒐⒋嵵緔 提交于 2019-12-23 18:52:27
问题 We are new to the subversion, tortoisesvn, ankhsvn stack. While in Studio 2008 we have deleted files from our project problem is when we do an svn checkout in our CI build we get the deleted files. How do I prevent these files from being included in the checkout? Thanks in advance. 回答1: You need to delete them in Subversion. From the TortoiseSVN menu, chose "Delete", then commit that deletion. On the command line, you can use svn rm <filename> , and then commit. 回答2: Make sure you've done an

Xcode thinks a remote svn repos is git

风格不统一 提交于 2019-12-23 18:27:24
问题 I'm running Xcode 4.1 at work and home. I've successfully checked out a project from a remote svn repository (work) on my home setup. The repos was updated, so when I got home, I did an update on the local checkout. The status of the updated files got flagged "U" (good) and a page appeared showing changes to accept, but when I hit accept, I get a popup that says: The working copy "ABRA-D" failed to pull. fatal: Not a git repository (or any of the parent directories): .git Well, yes... the

Import separate SVN directories as git branches

不想你离开。 提交于 2019-12-23 17:53:15
问题 I want to convert an existing SVN repository with a nonstandard layout that looks like this: / (root) /trunk regular trunk stuff that I would like to make the "master" branch /folder1 files that I would like to make a separate branch "folder1" /folder2 files that I would like to make a separate branch "folder2" /folder3 files that I would like to make a separate branch "folder3" ... to a git repository, preserving history. The catch is that folder1 , folder2 , and folder3 are not branched off

CentOS搭建SVN服务器

冷暖自知 提交于 2019-12-23 17:30:59
一、环境 系统:CentOS 7.0 SVN:官网最新版(地址: https://tortoisesvn.net/downloads.html ) 二、为方便测试,关闭防火墙和selinux setenforce 0 systemctl stop firewalld 三、开始安装 # 1、查看本机是否安装过SVN rpm -qa subversion #如果有,则卸载 yum remove subversion # 2、安装SVN和其他服务 yum install httpd httpd-devel subversion mod_dav_svn mod_auth_mysql #也可以只安装SVN服务 yum install subversion -y #3、确认安装成功 cd /etc/httpd/modules ls | grep svn #结果是两个so文件,mod_authz_svn.so 和 mod_dav_svn.so #4、验证版本 svnserve --version 四、创建代码库 #创建文件夹目录用于存放 mkdir -p /opt/svn/repositories #创建一个新的SVN仓库,仓库路径为上面的那个目录 svnadmin create /opt/svn/repositories 五、修改配置文件 cd /opt/svn/repositories

SVN pre-commit hook to restrict file extensions from getting commited

夙愿已清 提交于 2019-12-23 17:25:51
问题 Using the following code in the Collabnet SVN's pre commit script to restrict the specific file extensions to get committed, but it is committing all the files. Could you please tell where I'm going wrong. #!/bin/sh REPOS="$1" TXN="$2" SVNLOOK=/home/csvn/csvn/bin/svnlook LOGMSG=`$SVNLOOK log -t "$TXN" "$REPOS" | grep "[a-zA-Z0-9]" | wc -c` if [ "$LOGMSG" -lt 10 ]; then echo -e "\n===========================================================" 1>&2 echo -e "|| COMMENTS ARE MADE MANDATORY.PLEASE

How to add a project to svn server?

孤街醉人 提交于 2019-12-23 17:15:01
问题 I have to add a project to the SVN server repository and I would be thankful to get some links or little help on how to do that. The URL to the SVN repository is https://192.168.1.4:448/svn/BDRAsigViata/ . The project is located on the desktop. The path is /Users/name/Desktop and the name of the project is BDRAsigurariViata v1.0.zip . I tried to add the project this way svn import /Users/name/Desktop/BDRAsigurariViata v1.0.zip https://192.168.1.4:448/svn/BDRAsigViata But it isn't working. Am

SVN repository content

断了今生、忘了曾经 提交于 2019-12-23 17:11:21
问题 I have set up VisualSvn Server, created a repository and added Visual Studio solution to it by using AnkhSVN. The url for repository is something like https://msi-pc/svn/MyProj/ . Due to my incompetence a question : is this URL mapped to location on HD where I can see actual solution files ? In C:\Repositories I don't find them. Perhaps my understanding of SVN is wrong, I thought that repository contains the most recent version of my solution that I checked in (like in TFS). Thank you, 回答1:

Eclipse project with Subclipse: Introduce trunk and branches

人盡茶涼 提交于 2019-12-23 16:40:56
问题 I have a project in my workspace (without trunk and branches) and need to create a copy of the current release for providing bug fixes for this release while working on a new feature, as described here: http://nedbatchelder.com/text/quicksvnbranch.html. What is the recommended way of doing this without affecting repository's main structure and the checked out projects on the machines of other developers? 回答1: If you did not establish some structure when you created your repository you cannot

svn Can't set position pointer in file

北慕城南 提交于 2019-12-23 16:34:29
问题 I'm having an issue with an svn repository that has been working just fine up to now. I am getting the error svnadmin: Can't set position pointer in file 'repository/db/revs/0/783': Invalid argument for example when I run svnadmin verify Other general symptoms include not being able to checkout, update, commit etc. Any help much appreciated thanks! Peter 回答1: OK... I just had this problem and was able to fix it. I'm using FSFS. The last good revision I had was Revision Number 88. Revision 89

svn Can't set position pointer in file

核能气质少年 提交于 2019-12-23 16:32:19
问题 I'm having an issue with an svn repository that has been working just fine up to now. I am getting the error svnadmin: Can't set position pointer in file 'repository/db/revs/0/783': Invalid argument for example when I run svnadmin verify Other general symptoms include not being able to checkout, update, commit etc. Any help much appreciated thanks! Peter 回答1: OK... I just had this problem and was able to fix it. I'm using FSFS. The last good revision I had was Revision Number 88. Revision 89