Why are my dlls not included in my exported patches?

泪湿孤枕 提交于 2019-12-01 15:27:51

问题


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

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

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.

How can I add these dlls to the patch!?

I installed SignalR through nuget.

Thanks in advance.

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

EDIT: 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


回答1:


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



来源:https://stackoverflow.com/questions/12531807/why-are-my-dlls-not-included-in-my-exported-patches

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!