From b7487f2c81f0d15f5b7fa32fbde66839be691cb3 Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Mon, 12 Feb 2007 20:43:08 +0000
Subject: [PATCH] Update the ldif-diff tool so that it provides an option that allows differences between entries to be split into multiple modifications each of which has only a single value (as opposed to one modification containing all changes to the entry).  This can be useful when attempting to apply configuration changes during an upgrade.

---
 opends/src/server/org/opends/server/messages/ToolMessages.java |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/opends/src/server/org/opends/server/messages/ToolMessages.java b/opends/src/server/org/opends/server/messages/ToolMessages.java
index 37731ce..60bc325 100644
--- a/opends/src/server/org/opends/server/messages/ToolMessages.java
+++ b/opends/src/server/org/opends/server/messages/ToolMessages.java
@@ -7559,6 +7559,15 @@
 
 
   /**
+   * The message ID for the message that will be used as the description of the
+   * singleValueChanges argument.  This does not take any arguments.
+   */
+  public static final int MSGID_LDIFDIFF_DESCRIPTION_SINGLE_VALUE_CHANGES =
+       CATEGORY_MASK_TOOLS | SEVERITY_MASK_INFORMATIONAL | 794;
+
+
+
+  /**
    * Associates a set of generic messages with the message IDs defined in this
    * class.
    */
@@ -8940,6 +8949,10 @@
     registerMessage(MSGID_LDIFDIFF_DESCRIPTION_OUTPUT_LDIF,
                     "Specifies the file to which the output should be " +
                     "written.");
+    registerMessage(MSGID_LDIFDIFF_DESCRIPTION_SINGLE_VALUE_CHANGES,
+                    "Indicates that each attribute-level change should be " +
+                    "written as a separate modification per attribute value " +
+                    "rather than one modification per entry.");
     registerMessage(MSGID_LDIFDIFF_DESCRIPTION_OVERWRITE_EXISTING,
                     "Indicates that any existing output file should be " +
                     "overwritten rather than appending to it.");

--
Gitblit v1.10.0