Index: openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl,v diff -u -r1.74 -r1.75 --- openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 26 Apr 2004 18:50:53 -0000 1.74 +++ openacs-4/packages/acs-tcl/tcl/apm-install-procs.tcl 19 May 2004 18:49:39 -0000 1.75 @@ -2059,7 +2059,7 @@ values (:attribute_name, :attribute_value, :version_id) } } - } + } } } @@ -2107,7 +2107,9 @@ -version_id $version_id \ -array attributes] - foreach attribute_name [array names attributes] { + # sort the array so that the xml is always in the same order so + # its stable for CVS. + foreach attribute_name [lsort [array names attributes]] { # Only output tag if its value is non-empty if { ![empty_string_p $attributes($attribute_name)] } { append xml_string "${indentation}<${attribute_name}>[ad_quotehtml $attributes($attribute_name)]\n"