mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
This checkin does two things:
1. Refines the semantics of ghost creation, so that they only appear when warranted. 2. Implements a mechanism for filtering out files which should not appear in comparison results or be pushed along by updates. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4525 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -89,10 +89,10 @@ public class SimpleAVMPromoteAction extends ActionExecuterAbstractBase
|
||||
String targetPath = targetStoreName + ":" + storePath[1];
|
||||
// Find the differences.
|
||||
List<AVMDifference> diffs =
|
||||
fAVMSyncService.compare(version, path, -1, targetPath);
|
||||
fAVMSyncService.compare(version, path, -1, targetPath, null);
|
||||
// TODO fix update comments at some point.
|
||||
// Do the promote.
|
||||
fAVMSyncService.update(diffs, true, true, false, false, null, null);
|
||||
fAVMSyncService.update(diffs, null, true, true, false, false, null, null);
|
||||
// Flatten the source on top of the destination.
|
||||
fAVMSyncService.flatten(storePath[0] + ":/appBase",
|
||||
targetStoreName + ":/appBase");
|
||||
|
Reference in New Issue
Block a user