为什么我的dll未包含在导出的补丁程序中? [英] Why are my dlls not included in my exported patches?

查看:72
本文介绍了为什么我的dll未包含在导出的补丁程序中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用TortoiseHg从Mercurial存储库中导出了一些变更集.

I have used TortoiseHg to export a few changesets from a Mercurial repository.

一切正常,除了SignalR dll不包含在我添加这些dll的变更集的补丁中.

This went fine, except that the SignalR dlls were not included in the patch of the changeset where I added those dlls.

为什么不将它们包括在内?如果我查看机器上的变更集,则可以看到dll已添加到变更集中.

Why are they not being included? If I look at the changeset on my machine, I can see the dlls are added in the changeset.

如何将这些dll添加到补丁中??

How can I add these dlls to the patch!?

我通过nuget安装了SignalR.

I installed SignalR through nuget.

谢谢.

我还注意到对文件的另一更改也未包含在该变更集的补丁中.

I also noticed that another change to a file is also not included in the patch of that changeset.

当我在记事本++中打开补丁时,我看到了提到的文件:
差异-r b10c68a2d387 -r 74aa5e71d315 MyProject/_sln/packages/SignalR.Server.0.5.3/lib/net40/SignalR.dll
二进制文件MyProject/_sln/packages/SignalR.Server.0.5.3/lib/net40/SignalR.dll已更改

When I open the patch in notepad++, I saw mention of the files:
diff -r b10c68a2d387 -r 74aa5e71d315 MyProject/_sln/packages/SignalR.Server.0.5.3/lib/net40/SignalR.dll
Binary file MyProject/_sln/packages/SignalR.Server.0.5.3/lib/net40/SignalR.dll has changed

推荐答案

您似乎没有将--git选项传递给

It looks like you're not passing the --git option to hg export. Without --git hg export will not include changes to binary files (or permissions, etc).

就我个人而言,我认为这应该是所有以某种形式产生差异的东西的默认值,但事实并非如此.

Personally, I think this should be the default now for everything that produces a diff in some form, but it's still not.

文件->设置

File -> Settings

这篇关于为什么我的dll未包含在导出的补丁程序中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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