为什么刷新我的 mq 补丁会在工作目录中留下修改过的文件?
请注意:
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
省略的文件中的 nc 和 NC 目录的大小写在
hg qrefresh -v
输出和hg st< 之间有所不同/代码>。
尝试忘记
hg st
报告的文件并使用正确的大小写添加它们。The casing of
nc
andNC
directories in the files that were left out is different betweenhg qrefresh -v
output andhg st
.Try forgetting the files reported by
hg st
and add them with the proper casing.