Avoid locking the whole WC in svn lock/unlock.
Avoid locking the whole WC in svn lock/unlock.

NOTE: This still locks too much, but fixing that is more complicated.
This at least avoids the worst performance problems in common cases.

* subversion/libsvn_client/locking_commands.c (organize_lock_targets): Lock
  the common parent to the depth of the deepest target.



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

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