I am using ArcGIS 10.
I discovered that the arcpy.SynchronizeChanges_management tool returned an error 582 when synchronizing a one-way replica and using the parent geodatabase in the first parameter instead of using the child geodatabase:
Then, when I used the child geodatabase in the first parameter (switched the order), it worked:
I discovered that the arcpy.SynchronizeChanges_management tool returned an error 582 when synchronizing a one-way replica and using the parent geodatabase in the first parameter instead of using the child geodatabase:
arcpy.SynchronizeChanges_management(parent_gdb, the_replica, child_gdb, "FROM_GEODATABASE1_TO_2", "IN_FAVOR_OF_GDB1", "BY_OBJECT", "")
Then, when I used the child geodatabase in the first parameter (switched the order), it worked:
arcpy.SynchronizeChanges_management(child_gdb, the_replica, parent_gdb, "FROM_GEODATABASE2_TO_1", "IN_FAVOR_OF_GDB2", "BY_OBJECT", "")