SVN的“local edit, incoming delete upon update”问题
2015-07-29 15:02
555 查看
SVN的“local edit, incoming delete upon update”问题
在网上查,说是:今天svn更新的时候,删了一个目录,出现了这个问题。svn revert file但是这个命令只能解决一个文件的local edit问题。我这是目录出错。看了一下svn的help:revert: Restore pristine working copy file (undo most local edits).usage: revert PATH...Note: this subcommand does not require network access, and resolvesany conflicted states.Valid options:--targets ARG : pass contents of file ARG as additional args-R [--recursive] : descend recursively, same as --depth=infinity--depth ARG : limit operation by depth ARG ('empty', 'files','immediates', or 'infinity')-q [--quiet] : print nothing, or only summary information--changelist [--cl] ARG : operate only on members of changelist ARGGlobal options:--username ARG : specify a username ARG--password ARG : specify a password ARG--no-auth-cache : do not cache authentication tokens--non-interactive : do no interactive prompting--trust-server-cert : accept SSL server certificates from unknowncertificate authorities without prompting (but onlywith '--non-interactive')--config-dir ARG : read user configuration files from directory ARG--config-option ARG : set user configuration option in the format:FILE:SECTION:OPTION=[VALUE]For example:servers:global:http-library=serf所以加上-R参数。
svn revert dir -R
成功恢复了。
相关文章推荐
- 04-Js给action传值,出现乱码如何解决
- [Java][细节](int)n的执行结果,其中n为float或double类型
- Windows 10企业版今天会发布下载吗?微软答复:会
- 通过conf/server.xml中的context配置的web项目启动的时候没有发布情况日志信息
- appium-4 AndroidDriver其他
- Unity第一人称和第三人称视角脚本
- 众数问题
- 李开复写给中国大学生的信
- 配置cfree 5 支持C++11
- Andrew Ng Machine Learning 专题【Introduction】
- Create an iOS Universal Framework
- Drainage Ditches
- Android设备中实现Orientation Sensor(图)兼谈陀螺仪
- Android SDK教程
- C#面向对象三大特性之三:多态
- 嗨泡产品的体验
- Drainage Ditches 分类: POJ 图论 2015-07-29 15:01 7人阅读 评论(0) 收藏
- 使用lsyncd实时同步.
- Redis 使用基础
- 用JSP+Servlet+JavaBean模式实现简单的登录