Fix my busted commit of r37453. Also simplify a couple other bits of code.
Fix my busted commit of r37453. Also simplify a couple other bits of code.

* subversion/libsvn_wc/update_editor.c:
  (make_dir_baton): only set d->path once (and alloc just once)
  (coplete_directory): ENTRY needs to be non-const to set the INCOMPLETE
    flag. switch from svn_wc_entry() to svn_wc__get_entry() so that we can
    get the parent stub. use retrieve_internal2 for grabbing access batons
    since we already have a DB and an abspath. simplify code around
    set_depth calls since we have DB/abspath already, too. note that the
    CURRENT_ENTRY localvar is non-const in order to set DEPTH.


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

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