Check In From Delta (数据管理)
Imports changes from a delta file into the parent replica. A delta file contains only the changes exported from a child replica geodatabase.
Instead of synchronizing edits directly from the child replica geodatabase, you can export the changes only from the child replica to a delta file. Delta files are smaller than the original child replica geodatabase.
When the synchronize from a delta file succeeds, the check-out replica in the parent geodatabase is unregistered.
Synchronizing changes from a delta file does not automatically unregister the replica in the child replica geodatabase; this must be done manually.
The delta file that contains the changes to be synchronized.
The parent replica geodatabase. The ArcSDE workspace to which changes will be applied.
Indicates whether the synchronize process should reconcile the synchronization version after the edits have been synchronized.
import arcpy from arcpy import env env.workspace = "C:/Data" arcpy.CheckinDelta_management("MyCheckChanges.gdb", "MySDEdata.sde", NO_RECONCILE)