SVN使用常见问题

来源:互联网 发布:ps软件文字编辑 编辑:程序博客网 时间:2024/06/05 19:17

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

例如:有人覆盖了你的代码,你不知道的情况下直接更新,就会报错,等你在来更新时Progress界面,会阻塞到你开始运行提交时的状态;如果先更新,只需把里面自己不需要的删除掉,在提交就OK了;

1、解决在别有有更新代码情况下,自己不知情的情况,直接提交的有效方,就是直接关掉My Eclipse 在启动才能更新;

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

 

以下是一些常见的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。






原创粉丝点击