Fix some bugs noted by Bob Miller and some mistakes noted by myself. (elem_prop_delta, elem_delta_pkg): Former renamed to latter; was a braino. (get_to_elem): text-delta-ref element should end with "/>".  Close a tree-delta if we are trying to get to a directory prop-delta.  Add an assertion to detect cases where get_to_elem doesn't get to where it should go. (close_directory): Set eb->elem to appropriate value (previously we left it at elem-dir).  Don't close a <dir> element for the root directory, since we never opened one.
Fix some bugs noted by Bob Miller and some mistakes noted by myself.
(elem_prop_delta, elem_delta_pkg): Former renamed to latter; was a
braino.
(get_to_elem): text-delta-ref element should end with "/>".  Close a
tree-delta if we are trying to get to a directory prop-delta.  Add an
assertion to detect cases where get_to_elem doesn't get to where it
should go.
(close_directory): Set eb->elem to appropriate value (previously we
left it at elem-dir).  Don't close a <dir> element for the root
directory, since we never opened one.


git-svn-id: f8a4e5e023278da1e04e203c7fe051e3c4285d88@837474 13f79535-47bb-0310-9956-ffa450edef68

YueLinHo/Subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,YueLinHo/Subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion,wbond/subversion,YueLinHo/Subversion,wbond/subversion