2011-09-06 40 views
0

请注意以下几点:为什么刷新我的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 qrefresh中。

我现在应该怎么做?

谢谢。

+1

@Idan - 请重新排列您的答案作为答案,因为您是正确的! – mark

+0

@Idan - 请提供一个正式答案,以便您可以为此获得信用。 – mark

回答

2

ncNC的文件夹中被忽略的文件夹在hg qrefresh -v输出和hg st之间是不同的。

尝试忘记hg st报告的文件,并添加正确的外壳。

+0

我做了那么多 - 我已经qpoped修补程序,然后编辑修补程序文件,以解决这个问题。显然,Mercurial核心正确处理案例差异(在Windows上),但不是MQ扩展。 – mark

相关问题