TortoiseSVN 应用补丁错误 [英] TortoiseSVN Apply Patch error

查看:79
本文介绍了TortoiseSVN 应用补丁错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试应用补丁,但收到一条空白错误消息(其中没有文本或任何内容).我有最新版本的 TortoiseSVN.

I am trying to apply patch but I get a blank error message (there is no text in it or anything). I have latest version of TortoiseSVN.

推荐答案

我遇到了同样的问题,如果您从修订版创建了补丁,请使用将更改显示为统一差异",检查补丁文件中的路径,这是正确的:

I had the same issue, if you have created the patch from the revision, using "Show changes as unified diff", check the paths in your patch file, this one is correct:

文件夹/文件名.cs

但是这个(使用绝对路径)会导致问题:

But this one (with absolute path) will cause issues:

c:/文件夹/文件名.cs

c:/Folder/FileName.cs

只需将绝对路径转换为相对路径即可.

Just convert absolute to relative paths.

这篇关于TortoiseSVN 应用补丁错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆