svn报错 refers to a file, not a directory

svn co http://server.com/svn/trunk/test.file test.file
svn: URL 'http://server.com/svn/trunk/test.file test.file' refers to a file, not a directory

问题根本原因:

svn co 即svn checkout 下拉一份代码副本到本地,但是checkout仅支持目录,如果checkout单个文件的话会报此错误。

解决方法:

A. 下拉代码副本的时候,将目录下载下来,此操作并不会覆盖掉target_directory/目录下的原有文件;
    svn co .../directory/ target_directory/ --username XXX --password XXX

B. 强制出文件,此操作仅为单向下拉文件,不能上传到svn库,根据需求来决定使用哪种方式;
    svn export --force .../directory/svn_filename target_directory --useranme XXX --password XXX

svn报错refers to a file, not a directory相关推荐

  1. 【svn】svn报错refers to a file, not a directory和File out of date解决办法

    1.svn报错 refers to a file, not a directory svn co http://server.com/svn/trunk/test.file test.file svn ...

  2. SVN报错:can‘t open file db/txn-current-lock:permission denied 解决方法

    SVN报错:can't open file db/txn-current-lock:permission denied 解决方法 参考文章: (1)SVN报错:can't open file db/t ...

  3. macOS系统升级后idea使用svn报错

    昨天升级了 macOS Monterey 更新完后IntelliJ IDEA无法正常使用SVN 报Cannot run program "svn" (in directory &q ...

  4. linux 安装包 在此作用域中尚未声明_Linux运行go项目报错:copy_file_range: bad file descriptor...

    这两天在 Linux 环境部署一个 Go 项目遇到一个报错:copy_file_range: bad file descriptor.网上查找各种方法,花了两天的时间,经过一番折腾后才解决,觉得非常有 ...

  5. pandas.read_csv() 报错 OSError: Initializing from file failed

    Python版本:Python 3.6 pandas.read_csv() 报错 OSError: Initializing from file failed,一般由两种情况引起:一种是函数参数为路径 ...

  6. 【svn】svn报错:“Previous operation has not finished; run ‘cleanup‘ if it was interrupted“ 的解决方法

    [svn]svn报错:"Previous operation has not finished; run 'cleanup' if it was interrupted" 的解决方 ...

  7. 在NVIDIA Jetson Xavier NX上安装llvmlite报错:No such file or directory: ‘llvm-config‘: ‘llvm-config‘

    文章目录: 1 问题说明 2 解决问题方式 1 问题说明 1.在安装llvmlite的时候报错:No such file or directory: 'llvm-config': 'llvm-conf ...

  8. Keil编译报错:Cannot open include file: 'stdbool.h': No such file or directory问题解决

    Keil编译出现报错:Cannot open include file: 'stdbool.h': No such file or directory,或者出现Error: L6411E: No co ...

  9. pandas.read_csv() 报错 OSError: Initializing from file failed,报错原因分析和解决方法

    今天调用pandas读取csv文件时,突然报错" OSError: Initializing from file failed ",我是有点奇怪的,以前用的好好的,read_csv ...

最新文章

  1. 什么数字万用表可以测量噪声?
  2. js控制select大全
  3. windows安装XGBoost
  4. 企业是否应该实现对客户需求的快速响应_CRM系统给企业带来的创新有哪些?如何让销售爱用CRM系统?...
  5. 归并排序概念及其实现
  6. python count函数用法 comm_python3:MySQL 8.0学习笔记(第五部分:单表查询操作)
  7. 我们学过 飞鸽传书 的应该知道
  8. aspx 判断字符串是否为decimal_C++编程技巧: 如何判断输入是否为整型
  9. 专题五:MATLAB数据分析与多项式计算
  10. 尽量干净地卸载360
  11. 微信小程序 服务通知
  12. request请求头中出现Provisional headers are shown
  13. 计算机音乐蜗牛与黄鹂鸟,幼儿园中班教案:中班音乐《蜗牛与黄鹂鸟》教案模板...
  14. 首届“中科杯”全国软件设计大赛获奖名单揭晓
  15. js练习之--数组方法,数组实现文字内容高亮、替换!
  16. 【汇正财经】金融股有什么投入优势?
  17. bton框架业务核心流程架构
  18. 2019,向着迷茫的远方前行
  19. 利用Webbrowser类实现超长网页的截屏的实现(解决报错不能截取的难题)
  20. python cv2读取图片后进行通道变换以及PIL阅读图像的通道转换

热门文章

  1. 深度学习之江湖~那些大神们,不相信只有我一个人爱八卦
  2. (附源码)PHP校园寝室分配查询系统 毕业设计 032027
  3. 什么是害怕恋爱综合症
  4. NOIP2010提高组初赛 c++————烽火传递
  5. 全球首款搭载鸿蒙操作系统的手机是,首款搭载华为鸿蒙操作系统产品发布
  6. 解除pdf禁止打印限制
  7. python与mysql交互详解
  8. 权健产品被各大电商平台全线下架 / 中国北斗系统开始服务全球 / 小米互联网洗衣机发布 | 雷锋早报...
  9. 如何利用技术提升微信营销效果
  10. 达梦数据库初级学习总结(上)