svn

GIT-SVN clone command executes without errors but the local master branch is missing

江枫思渺然 提交于 2020-01-31 05:31:09
问题 I'm trying to use GIT-SVN but I'm having problems getting things started. I can clone the svn-repository (or use git svn init and then git svn fetch) without any errors but after the command stops processing, the git repository is empty and there's no local master branch. My svn repository is located in here: https://localhost:8443/svn/projects And the project folder is structured like this: /projectA/trunk /projectA/branches /projectA/tags /projectB/trunk /projectB/branches /projectB/tags

java进阶之-Maven,svn,git,maven合拼多个项目

萝らか妹 提交于 2020-01-31 03:31:35
git的使用介绍 (写很容易懂得哦) 缪雪峰写的git介绍我看完感觉特别好: https://www.liaoxuefeng.com/wiki/896043488029600 maven合拼多个项目 (写得很好哦) MAVEN作用:统一开发规范与工具;统一管理jar包 1.下载 MAVEN 下载绿色版的面安装 2.环境配置   eclipse想要用maven需要加载maven插件才能对项目管理:分类,布局   1)环境变量     MAVEN_HOME:C:\java\apache-maven-3.2.5(maven文件根路径)     Path:添加%MAVEN_HOME%/bin   2)配置文件:config/setting.xml     1)修改更新到本地资源库: <localRepository>C:\java\apache-maven-3.2.5\repository</localRepository>     2)修改默认的中央仓库镜像:在settings.xml文件中的“<mirrors>      之后项目中需要的jar包会先从本地资源库中查找,没有的话就去默认的中央仓库镜像中查找   eclipse适配:最新版的自己就适配maven,只需配置settings.xml的位置就好了;若是不是最新版的还需要配置Installations定位到Maven的根路径 3

Subversion: Can I checkout, modify, and then make it a branch?

人走茶凉 提交于 2020-01-30 14:03:50
问题 I did a checkout from my trunk to a local DIR and made lots of local changes there. Now I don't want to commit it back to the trunk, but I'd rather make a branch from this local version. Is that possible? Can I just copy the trunk to a branch, and then cd DIR and svn switch to the branch? UPDATE : Thanks for the answers, it worked! To summarize the steps: cd DIR svn copy . new-branch-URL svn switch new-branch-URL . (note the dots) 回答1: According to its command line help svn copy can copy from

Subversion: Can I checkout, modify, and then make it a branch?

无人久伴 提交于 2020-01-30 14:03:49
问题 I did a checkout from my trunk to a local DIR and made lots of local changes there. Now I don't want to commit it back to the trunk, but I'd rather make a branch from this local version. Is that possible? Can I just copy the trunk to a branch, and then cd DIR and svn switch to the branch? UPDATE : Thanks for the answers, it worked! To summarize the steps: cd DIR svn copy . new-branch-URL svn switch new-branch-URL . (note the dots) 回答1: According to its command line help svn copy can copy from

How do I use the new SVN merge-tracking?

时间秒杀一切 提交于 2020-01-30 13:58:48
问题 In my existing (Pre-SVN 1.5) merge strategy, we create a copy of the Trunk (called BasePoint) at the moment of branch-creation for referencing later during the merge. When we need to merge a branch back into the trunk, we perform 2 operations. Merge from BasePoint to LatestTrunk (Trunk has likely moved on since the original branch) into Working copy of Branch and then commit. At this point we typically check that the merge into the branch has not damaged anything Merge from LatestTrunk to

svn环境搭建及使用

允我心安 提交于 2020-01-30 11:10:43
svn服务器端下载地址:http://subversion.apache.org/packages.html svn客户端下载地址:http://sourceforge.net/projects/tortoisesvn/files/1.8.12/Application/ 注意:svn服务器端版本一定大于等于svn客户端版本,否则 会报出如下错误:svn checkout期望文件系统格式在“1”到“6”之间;发现格式“7” 1.创建一个根目录,这个根目录用来存储所有的svn的工厂信息(每一个工厂等于一个项目) 2.打开命令行窗口,启动svn-->svnserve -d -r F:\DevRepository\Subversion 此时,svn服务器端就已经启动了。(新开一个命令行窗口输入“netstat -na” svn服务器端默认监听3690端口) 但是如果第一个命令行窗口关闭了,服务器端就停止了。对于Linux而言,直接后台启动即可。对于window而言,后台启动无用,所以需要将其添加到window的服务中 在命令行窗口中输入(需以管理员身份运行) sc create SVNService binpath="D:\soft\common\Subversion\bin\svnserve.exe --service -r F:\DevRepository\Subversion"

使用CVS/SVN的基本流程

自作多情 提交于 2020-01-30 11:10:20
使用WinCvs/SVN的基本流程如下: 1) 您首先要让CVS管理员给您分配一个用户名和密码,先使用WinCvs登录(Login)到CVS服务器。 2) 把本地需要CVS管理的原始目录导入(Import)到CVS服务器上去,使之成为CVS服务器上仓库(Repository)的一个Module。 3) 在本地硬盘上创建一个工作目录。 4) 从CVS服务器的仓库(Repository)导出(Checkout)一个Module到本地硬盘的工作目录 5) 从CVS服务器同步(Update)你同事的修改到你本地工作目录。在工作目录上进行工作,在这个过程中,把文件的中间版本(Revision)提交(Commit)给CVS服务器。 当您已经进行过上述流程,以后再使用时,就简化成只需要步骤1)和步骤5)就可以了。 也就是说我们只需要在第一次使用WinCvs时需要进行这五步操作,以后再次使用时甚至连第一步都不需要,只是不断的重复第五步操作就可以了。 从WinCvs的工作模式可以知道,WinCvs的工作涉及三个目录: 一是原始目录,我们从这里把文件导入到CVS进行管理,从此以后这个目录下的文件就不再参与WinCvs活动了; 二是CVS仓库目录,所有的Module都存放在这里,它可能是远程Linux下由CVS服务器管理员创建的,也可能是你自己在本地硬盘创建的,这决定于你工作在哪种模式下;

借助网盘搭建SVN服务器

て烟熏妆下的殇ゞ 提交于 2020-01-30 09:39:01
1、安装网盘 选择一个国内有名的网盘存储,例如金山网盘、360云盘等,注册账户会默认赠送几G的使用空间,然后下载其对应的网盘客户端管理软件(也可以使用浏览器方式),使用账号登录,就可以上传、管理文件等。如下图所示: 2、建立SVN Reporsitory 基于网盘创建svn reporsitory ,在网盘中创建目录,例如“svn”目录,进入该目录后使用TortoiseSVN工具创建仓库(reporsitory) 创建成功后,会在”svn”目录中生成有关的SVN仓库的管理文件,此时SVN服务已经可以使用 3、SVN使用-导出 创建项目目录为”project”,在”project”中点击右键选择SVN Checkout,配置如下图所示信息:仓库 http://www.cnblogs.com/gaojun/admin/”svn ”及导出目录”project”点击OK完成导出 提示成功时,表示SVN可以使用 4、SVN使用-提交 在”project”中添加一个测试文件”textSVN.txt”,然后在”project”目录上右键,使用“SVN Commit”提交测试是否成功,如下图所示: 如果提示如下图所示: 表示SVN可以使用。 5、同步SVN数据 在其它电脑上做同样的步骤,网盘账号使用同一个,这样”svn”目录既是一个即时更新的网盘目录,又是一个即时同步的SVN库

环境搭建

☆樱花仙子☆ 提交于 2020-01-30 09:08:03
一、SVN配置 1)下载SVN工具      http://ftp-idc.pconline.com.cn/641504a533e8ba075063976048f91f5f/pub/download/201010/TortoiseSVN-1.12.0.28568-x64-svn-1.12.0.msi 2)本地新建文件夹,右键点击“SVN Checkout”,   配置连接 svn://123.207.xx.xx/cloudlab   账号密码均为姓名全拼 3)代码下载后,在指定的目录下可以看到别人已提交的文件 4)尝试提交代码,看能不能正常提交 来源: https://www.cnblogs.com/aligege/p/11137072.html