• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Revision23126 (tree)
Zeit2012-08-03 21:52:58
Autorstefan.fuhrmann.1974

Log Message

Treat replacements just like adds when determining whether
and where to continue the log.

(Fixes issue #385) : Log cache not filled after REPLACE

Ändern Zusammenfassung

Diff

--- trunk/src/LogCache/CacheLogQuery.cpp (revision 23125)
+++ trunk/src/LogCache/CacheLogQuery.cpp (revision 23126)
@@ -407,7 +407,8 @@
407407 // end of the requested data. currentPath is NULL, then.)
408408
409409 if ( ( (cache->GetLogInfo().GetSumChanges (index)
410- & CRevisionInfoContainer::ACTION_ADDED) != 0)
410+ & ( CRevisionInfoContainer::ACTION_ADDED
411+ | CRevisionInfoContainer::ACTION_REPLACED)) != 0)
411412 && (currentPath.get() != NULL))
412413 {
413414 // create the appropriate iterator to follow the potential path change
--- trunk/src/TortoiseProc/RevisionGraph/FullGraphBuilder.cpp (revision 23125)
+++ trunk/src/TortoiseProc/RevisionGraph/FullGraphBuilder.cpp (revision 23126)
@@ -633,6 +633,7 @@
633633 break;
634634
635635 case CRevisionInfoContainer::ACTION_ADDED:
636+ case CRevisionInfoContainer::ACTION_REPLACED:
636637 // exact addition? -> does exist
637638
638639 if (iter->GetPathID() == path.GetIndex())
Show on old repository browser