Revision | 23126 (tree) |
---|---|
Zeit | 2012-08-03 21:52:58 |
Autor | stefan.fuhrmann.1974 |
Treat replacements just like adds when determining whether
and where to continue the log.
(Fixes issue #385) : Log cache not filled after REPLACE
@@ -407,7 +407,8 @@ | ||
407 | 407 | // end of the requested data. currentPath is NULL, then.) |
408 | 408 | |
409 | 409 | if ( ( (cache->GetLogInfo().GetSumChanges (index) |
410 | - & CRevisionInfoContainer::ACTION_ADDED) != 0) | |
410 | + & ( CRevisionInfoContainer::ACTION_ADDED | |
411 | + | CRevisionInfoContainer::ACTION_REPLACED)) != 0) | |
411 | 412 | && (currentPath.get() != NULL)) |
412 | 413 | { |
413 | 414 | // create the appropriate iterator to follow the potential path change |
@@ -633,6 +633,7 @@ | ||
633 | 633 | break; |
634 | 634 | |
635 | 635 | case CRevisionInfoContainer::ACTION_ADDED: |
636 | + case CRevisionInfoContainer::ACTION_REPLACED: | |
636 | 637 | // exact addition? -> does exist |
637 | 638 | |
638 | 639 | if (iter->GetPathID() == path.GetIndex()) |