Reconcile Version (Data Management) (ArcInfo and ArcEditor only) |
|
Release 9.2
Last modified November 29, 2010 |
![]() ![]() ![]() Print all topics in : "Tools" |
Reconciles a version against a parent version in its lineage.
Reconcile merges all modifications between the current edit version and a target version. Any differences between the features in the target version and the features in the edit version are applied to the edit version. Differences can consist of newly inserted, deleted, or updated features. The reconcile process detects these differences and discovers any conflicts. Reconciling happens before posting a version to a target version. A target version is any version in the direct ancestry of the version, such as the parent version or the default version.
Usage tips
The reconcile process requires that you are the only user currently editing the version and that you are the only user able to edit the version throughout the reconcile process until you save or post.
The reconcile process requires that you have full permissions to all the feature classes that have been modified in the version being edited.
File and personal geodatabases don't support versioning. Versioning tools only work with ArcSDE data.
Editing a version creates a new, unnamed, temporary version that exists until you save.
You are the only user who can see your changes until you save.
The geodatabase is designed to efficiently manage and support long transactions using versions.
Versions cannot be created or edited in ArcView.
The reconcile process detects differences between the edit version and the target version and discovers any conflicts. If conflicts exist, they should be resolved.
The following environment settings affect this tool: workspace, scratch workspace, and output CONFIG keyword.
Command line syntax
An overview of the Command Line window
ReconcileVersion_management <in_workspace> <version_name> <target_name> {BY_OBJECT | BY_ATTRIBUTE} {FAVOR_TARGET_VERSION | FAVOR_EDIT_VERSION} {LOCK_AQUIRED | NO_LOCK_AQUIRED} {NO_ABORT | ABORT_CONFLICTS} {NO_POST | POST}
Parameter | Explanation | Data Type |
<in_workspace> |
The ArcSDE geodatabase containing the reconcilable version. The default is to use the workspace defined in the environment. |
Workspace |
<version_name> |
Name of version to be reconciled. |
String |
<target_name> |
Name of any version in the direct ancestry of the version, such as the parent version or the default version. |
String |
{BY_OBJECT | BY_ATTRIBUTE} |
Describes the conditions required for a conflict to occur:
|
String |
{FAVOR_TARGET_VERSION | FAVOR_EDIT_VERSION} |
Describes the behavior if a conflict is detected:
|
String |
{LOCK_AQUIRED | NO_LOCK_AQUIRED} |
Determines whether feature locks will be aquired.
|
Boolean |
{NO_ABORT | ABORT_CONFLICTS} |
Determine if the reconcile process should be aborted if conflicts are found between the target version and the edit version.
|
Boolean |
{NO_POST | POST} |
Posts the current edit session to the reconciled target version.
|
Boolean |
reconcileversion_management "Database Connections\Connection to workspace.sde" roads DEFAULT
Scripting syntax
About getting started with writing geoprocessing scripts
ReconcileVersion_management (in_workspace, version_name, target_name, conflict_definition, conflict_resolution, acquire_locks, abort_if_conflicts, post)
Parameter | Explanation | Data Type |
in_workspace (Required) |
The ArcSDE geodatabase containing the reconcilable version. The default is to use the workspace defined in the environment. |
Workspace |
version_name (Required) |
Name of version to be reconciled. |
String |
target_name (Required) |
Name of any version in the direct ancestry of the version, such as the parent version or the default version. |
String |
conflict_definition (Optional) |
Describes the conditions required for a conflict to occur:
|
String |
conflict_resolution (Optional) |
Describes the behavior if a conflict is detected:
|
String |
acquire_locks (Optional) |
Determines whether feature locks will be aquired.
|
Boolean |
abort_if_conflicts (Optional) |
Determine if the reconcile process should be aborted if conflicts are found between the target version and the edit version.
|
Boolean |
post (Optional) |
Posts the current edit session to the reconciled target version.
|
Boolean |
import arcgisscripting gp = arcgisscripting.create() gp.reconcileversion( "Database Connections\Connection to workspace.sde", "v1_vegetation", "DEFAULT")