Fixed bug tracked down by Jani Averbach:
Fixed bug tracked down by Jani Averbach:

* subversion/libsvn_wc/lock.c
  (do_open): Whups.  Don't upgrade working directory format if this
    is only a read lock, not a write lock.


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

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