• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision29475 (tree)
Time2022-11-16 02:44:34
Authorstefankueng

Log Message

return GUID_NULL as the canonical uid

Change Summary

Incremental Difference

--- trunk/src/TortoiseShell/ExplorerCommand.cpp (revision 29474)
+++ trunk/src/TortoiseShell/ExplorerCommand.cpp (revision 29475)
@@ -219,7 +219,7 @@
219219 HRESULT __stdcall CExplorerCommand::GetCanonicalName(GUID *pguidCommandName)
220220 {
221221 CTraceToOutputDebugString::Instance()(__FUNCTION__);
222- *pguidCommandName = __uuidof(this);
222+ *pguidCommandName = GUID_NULL;
223223 return S_OK;
224224 }
225225
@@ -228,7 +228,7 @@
228228 CTraceToOutputDebugString::Instance()(__FUNCTION__ L": title: %s\n", m_title.c_str());
229229 *pCmdState = ECS_ENABLED;
230230 if (m_title.empty())
231- return E_FAIL;
231+ *pCmdState = ECS_DISABLED;
232232 return S_OK;
233233 }
234234
@@ -278,7 +278,7 @@
278278 {
279279 CTraceToOutputDebugString::Instance()(__FUNCTION__ L": title: %s\n", m_title.c_str());
280280 if (m_subItems.empty())
281- return E_INVALIDARG;
281+ return E_NOTIMPL;
282282 *ppEnum = new CExplorerCommandEnum(m_subItems);
283283 (*ppEnum)->AddRef();
284284 return S_OK;
Show on old repository browser