为什么刷新我的 mq 补丁会在工作目录中留下修改过的文件?

发布于 2024-12-03 06:05:32 字数 3046 浏览 1 评论 0原文

请注意:

PS Z:\dev> hg version
Mercurial Distributed SCM (version 1.9.2)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PS Z:\dev> hg st
A windows\NC\NC.Entities.Agent\DTO\StartTask.cs
A windows\nc\NC.Entities.Agent\DTO\Sample.cs
A windows\nc\NC.Entities.Agent\DTO\StopTask.cs
A windows\nc\NC.Entities.Agent\DTO\Task.cs
A windows\nc\NC.Entities.Agent\Web\Sample.cs
PS Z:\dev> hg qrefresh -v
windows/Common/Shunra.Common.Contract/Shunra.Common.Contract.SL.csproj
windows/NC/NC.Client.SL.Web/Bootstrapper.cs
windows/NC/NC.Entities.Agent.Contract/NC.Entities.Agent.Contract.csproj
windows/NC/NC.Entities.Agent/DTO/AgentInfo.cs
windows/NC/NC.Entities.Agent/DTO/Sample.cs
windows/NC/NC.Entities.Agent/DTO/StopTask.cs
windows/NC/NC.Entities.Agent/DTO/Task.cs
windows/NC/NC.Entities.Agent/NC.Entities.Agent.csproj
windows/NC/NC.Entities.Agent/Web/AgentInfo.DTO.cs
windows/NC/NC.Entities.Agent/Web/AgentInfo.cs
windows/NC/NC.Entities.Agent/Web/Sample.DTO.cs
windows/NC/NC.Entities.Agent/Web/Sample.cs
windows/NC/NC.Entities.Agent/Web/SampleSet.cs
windows/NC/NC.Entities.Agent/Web/StartTask.DTO.cs
windows/NC/NC.Entities.Agent/Web/StartTask.cs
windows/NC/NC.Entities.Agent/Web/StopTask.DTO.cs
windows/NC/NC.Entities.Agent/Web/StopTask.cs
windows/NC/NC.Entities.Server/AgentPortal.AgentEntitiesMarshal.cs
windows/NC/NC.Entities.Server/AgentPortal.PrimitivesMarshal.cs
windows/NC/NC.Entities.Server/AgentPortal.cs
windows/NC/NC.Entities.Server/ExecutionInfoProvider.cs
windows/NC/NC.Entities.Server/Handlers/AgentInfoHandler.cs
windows/NC/NC.Entities.Server/Handlers/SampleHandler.cs
windows/NC/NC.Entities.Server/Handlers/TaskHandler.cs
windows/NC/NC.Entities.Server/IExecutionInfoProvider.PrimitivesMarshal.cs
windows/NC/NC.Entities.Server/IProtocolMetadataResolver.cs
windows/NC/NC.Entities.Server/IProtocolValuesHelper.cs
windows/NC/NC.Entities.Server/Mobile/Web/MobileRunReport.cs
windows/NC/NC.Entities.Server/NC.Entities.Server.csproj
windows/NC/NC.Entities.Server/ProtocolMetadataResolver.cs
windows/NC/NC.Entities.Server/ProtocolValuesHelper.cs
windows/NC/NC.Entities/Rest/ProtoBufSerializer.cs
windows/NC/NC.ProtoBuf/NC.ProtoBuf.SL.csproj
windows/nc/NC.Entities.Agent/DTO/PrimitiveCollection.cs
windows/nc/NC.Entities.Agent/DTO/StartTask.cs
windows/nc/NC.Entities.Agent/DTO/String2String.cs
windows/nc/NC.Entities.Agent/DTO/StringTPair.cs
windows/nc/NC.Entities.Agent/DTO/StringTPairList.cs
PS Z:\dev> hg st
A windows\NC\NC.Entities.Agent\DTO\StartTask.cs
A windows\nc\NC.Entities.Agent\DTO\Sample.cs
A windows\nc\NC.Entities.Agent\DTO\StopTask.cs
A windows\nc\NC.Entities.Agent\DTO\Task.cs
A windows\nc\NC.Entities.Agent\Web\Sample.cs
PS Z:\dev>

我不清楚的是,为什么在刷新 MQ 补丁后 hg status 返回相同的添加文件?请注意,这些文件确实出现在 hg qrefresh 的详细输出中。

我现在应该用它做什么?

谢谢。

Please, observe:

PS Z:\dev> hg version
Mercurial Distributed SCM (version 1.9.2)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
PS Z:\dev> hg st
A windows\NC\NC.Entities.Agent\DTO\StartTask.cs
A windows\nc\NC.Entities.Agent\DTO\Sample.cs
A windows\nc\NC.Entities.Agent\DTO\StopTask.cs
A windows\nc\NC.Entities.Agent\DTO\Task.cs
A windows\nc\NC.Entities.Agent\Web\Sample.cs
PS Z:\dev> hg qrefresh -v
windows/Common/Shunra.Common.Contract/Shunra.Common.Contract.SL.csproj
windows/NC/NC.Client.SL.Web/Bootstrapper.cs
windows/NC/NC.Entities.Agent.Contract/NC.Entities.Agent.Contract.csproj
windows/NC/NC.Entities.Agent/DTO/AgentInfo.cs
windows/NC/NC.Entities.Agent/DTO/Sample.cs
windows/NC/NC.Entities.Agent/DTO/StopTask.cs
windows/NC/NC.Entities.Agent/DTO/Task.cs
windows/NC/NC.Entities.Agent/NC.Entities.Agent.csproj
windows/NC/NC.Entities.Agent/Web/AgentInfo.DTO.cs
windows/NC/NC.Entities.Agent/Web/AgentInfo.cs
windows/NC/NC.Entities.Agent/Web/Sample.DTO.cs
windows/NC/NC.Entities.Agent/Web/Sample.cs
windows/NC/NC.Entities.Agent/Web/SampleSet.cs
windows/NC/NC.Entities.Agent/Web/StartTask.DTO.cs
windows/NC/NC.Entities.Agent/Web/StartTask.cs
windows/NC/NC.Entities.Agent/Web/StopTask.DTO.cs
windows/NC/NC.Entities.Agent/Web/StopTask.cs
windows/NC/NC.Entities.Server/AgentPortal.AgentEntitiesMarshal.cs
windows/NC/NC.Entities.Server/AgentPortal.PrimitivesMarshal.cs
windows/NC/NC.Entities.Server/AgentPortal.cs
windows/NC/NC.Entities.Server/ExecutionInfoProvider.cs
windows/NC/NC.Entities.Server/Handlers/AgentInfoHandler.cs
windows/NC/NC.Entities.Server/Handlers/SampleHandler.cs
windows/NC/NC.Entities.Server/Handlers/TaskHandler.cs
windows/NC/NC.Entities.Server/IExecutionInfoProvider.PrimitivesMarshal.cs
windows/NC/NC.Entities.Server/IProtocolMetadataResolver.cs
windows/NC/NC.Entities.Server/IProtocolValuesHelper.cs
windows/NC/NC.Entities.Server/Mobile/Web/MobileRunReport.cs
windows/NC/NC.Entities.Server/NC.Entities.Server.csproj
windows/NC/NC.Entities.Server/ProtocolMetadataResolver.cs
windows/NC/NC.Entities.Server/ProtocolValuesHelper.cs
windows/NC/NC.Entities/Rest/ProtoBufSerializer.cs
windows/NC/NC.ProtoBuf/NC.ProtoBuf.SL.csproj
windows/nc/NC.Entities.Agent/DTO/PrimitiveCollection.cs
windows/nc/NC.Entities.Agent/DTO/StartTask.cs
windows/nc/NC.Entities.Agent/DTO/String2String.cs
windows/nc/NC.Entities.Agent/DTO/StringTPair.cs
windows/nc/NC.Entities.Agent/DTO/StringTPairList.cs
PS Z:\dev> hg st
A windows\NC\NC.Entities.Agent\DTO\StartTask.cs
A windows\nc\NC.Entities.Agent\DTO\Sample.cs
A windows\nc\NC.Entities.Agent\DTO\StopTask.cs
A windows\nc\NC.Entities.Agent\DTO\Task.cs
A windows\nc\NC.Entities.Agent\Web\Sample.cs
PS Z:\dev>

What is unclear to me is why hg status returns the same added files after I have refreshed the MQ patch? Note, that these files do appear in the verbose output of hg qrefresh.

What am I supposed to do with it now?

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

从来不烧饼 2024-12-10 06:05:32

省略的文件中的 nc 和 NC 目录的大小写在 hg qrefresh -v 输出和 hg st< 之间有所不同/代码>。

尝试忘记 hg st 报告的文件并使用正确的大小写添加它们。

The casing of nc and NC directories in the files that were left out is different between hg qrefresh -v output and hg st.

Try forgetting the files reported by hg st and add them with the proper casing.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文