SVN使用常见问题

怎样减少或避免SVN使用报错:个人建议使用SVN最好先更新在提交(对于刚接触SVN的小白来说,有不足之处望大牛指教);

例如:有人覆盖了你的代码,你不知道的情况下直接更新,就会报错,等你在来更新时Progress界面,会阻塞到你开始运行提交时的状态(关闭My eclipse 才能在更新);

如果提交代码前先更新,只需把里面自己不需要的删除掉,在提交就OK了;

出现黄色感叹号,红绿双箭头时,最有效的方法是把自己的项目类复制出来,在点击还原,然后在拷贝进去就好了;

 

以下是一些常见的SVN问题;

有目录树冲突的文件。一般在最近一次更新后,资源库上的文件被移动、删除或重命名。

A file that has a tree conflict. These aretypically files that have local changes, but have since been moved, removed, orrenamed in the repository since the last local copy update。

有分支版本的文件。这些文件属于另外一个不同的工作目录而不是属于本地的父目录。

A file that has been switched. These arefiles which belongs to a different working copy than their local parentdirectory。

处于锁定状态的文件。

A locked file。

没有任何改动的文件。

A file with no local changes。

本地重命名或移动到其它目录的文件。

A versioned file that needs to be added tothe remote repository. These are typically files you have either renamed, ormoved to a different directory。

资源库和本地同时有修改的文件。

A file that has been changed in both thelocal copy and repository independently, causing a need for conflictresolution. Fixing this condition involves opening up the conflict view orforcibly overwriting changes locally or remotely。

提交全部文件。

Brings up the commit dialog to commit alloutgoing changes。






评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值